Click or drag to resize

wclAudioSwitcher Class

The class provides functional to select system default audio device.
Inheritance Hierarchy
SystemObject
  wclAudiowclCustomAudio
    wclAudiowclAudioSwitcher

Namespace: wclAudio
Assembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax
public class wclAudioSwitcher : wclCustomAudio

The wclAudioSwitcher type exposes the following members.

Constructors
 NameDescription
Public methodwclAudioSwitcher Creates new Audio Switcher component.
Top
Properties
 NameDescription
Public propertyActive Gets the Audio Switcher state.
(Inherited from wclCustomAudio)
Protected propertyReceiver Gets the message receiver.
(Inherited from wclCustomAudio)
Top
Methods
 NameDescription
Public methodClose Closes the Audio component.
(Inherited from wclCustomAudio)
Public methodConnect(Int64) Connects to the specified Audio Device.
Public methodConnect(String) Connects to the specified Audio Device.
Public methodDisconnect(Int64) Disconnects from the specified Audio Device.
Public methodDisconnect(String) Disconnects from the specified Audio Device.
Protected methodDoClosed Calls the OnClosed event.
(Inherited from wclCustomAudio)
Protected methodDoDefaultDeviceChanged Calls the OnDefaultDeviceChanged event.
Protected methodDoDeviceAdded Calls the OnDeviceAdded event.
Protected methodDoDeviceRemoved Calls the OnDeviceRemoved event.
Protected methodDoOpened Calls the OnOpend event.
(Inherited from wclCustomAudio)
Protected methodDoStateChanged Calls the OnStateChanged event.
Public methodEnum Enumerates available audio devices.
Public methodEqualsDetermines whether the specified Object is equal to the current Object.
(Inherited from Object)
Protected methodFinalize Frees the component.
(Inherited from wclCustomAudio)
Public methodGetDefault Gets the default Audio Device for the specified Role and Data Flow.
Public methodGetDeviceDetails Gets the specified Audio Device information.
Public methodGetHashCodeServes as a hash function for a particular type.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodInternalClose The method called during audio subsystem finalization.
(Inherited from wclCustomAudio)
Protected methodInternalOpen The method called during audio subsystem initialization.
(Inherited from wclCustomAudio)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodMessageReceived The method called when a new notification message received.
(Overrides wclCustomAudioMessageReceived(wclMessage))
Public methodOpen Opens the Audio Switcher component.
Public methodSetDefault Sets the specified Audio Device as default for the specified Role.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventOnClosed The event fires when the Audio Switcher was closed.
(Inherited from wclCustomAudio)
Public eventOnDefaultDeviceChanged The event fires when default audio device changed.
Public eventOnDeviceAdded The event fires when new audio device added.
Public eventOnDeviceRemoved The event fires when audio device removed.
Public eventOnOpened The event fires when the Audio Switcher was opened.
(Inherited from wclCustomAudio)
Public eventOnStateChanged The event fires when audio device state changed.
Top
See Also