DeviceManager.ActiveAudioDevice Property

Sets or gets the active audio device.

Namespace:  Microsoft.Lync.Model.Device
Assembly:  Microsoft.Lync.Model (in Microsoft.Lync.Model.dll)

Syntax

'Declaration
Public Property ActiveAudioDevice As AudioDevice
    Get
    Set
'Usage
Dim instance As DeviceManager
Dim value As AudioDevice

value = instance.ActiveAudioDevice

instance.ActiveAudioDevice = value
public AudioDevice ActiveAudioDevice { get; set; }

Property Value

Type: Microsoft.Lync.Model.Device.AudioDevice

Remarks

If a conversation is going on, then setting this changes the currently in used device to the new device. This change happens in mid call and is not remembered when that conversation ends.
If a conversation is not going on, then setting this property changes default device so the set device will be used any time a new conversation starts. Please note that when you change the active audio device between calls, the device you set is not persisted after you close the Lync client. To persist an audio device, you must set the audio device in the Lync client options Audio Device Settings page.

See Also

Reference

DeviceManager Class

DeviceManager Members

Microsoft.Lync.Model.Device Namespace