TwclAudioSwitcher Class

The class provides functional to select system default audio device.

Namespace: wclAudio
TComponent
  wclAudio.TwclCustomAudio
    wclAudio.TwclAudioSwitcher
type
 TwclAudioSwitcher = class(TwclCustomAudio)
 end;

The TwclAudioSwitcher type exposes the following members.

Show:
 NameDescription
Create(TComponent)

Creates new Audio Switcher component. (Overrides TwclCustomAudio.Create(TComponent).)

Top
Show:
 NameDescription
Active

Gets the Audio Switcher state. (Inherited from TwclCustomAudio.)

Enumerator

Gets the Audio devices enumerator interface. (Inherited from TwclCustomAudio.)

OnClosed

The event fires when the Audio Switcher was closed. (Inherited from TwclCustomAudio.)

OnOpened

The event fires when the Audio Switcher was opened. (Inherited from TwclCustomAudio.)

Receiver

Gets the message receiver. (Inherited from TwclCustomAudio.)

Top
Show:
 NameDescription
Close

Closes the Audio component. (Inherited from TwclCustomAudio.)

Connect(Int64)

Overloaded. Connects to the specified Audio Device.

Connect(string)

Overloaded. Connects to the specified Audio Device.

Disconnect(Int64)

Overloaded. Disconnects from the specified Audio Device.

Disconnect(string)

Overloaded. Disconnects from the specified Audio Device.

DoClosed

Calls the OnClosed event. (Inherited from TwclCustomAudio.)

DoDefaultDeviceChanged(string,TwclAudioDeviceDataFlow,TwclAudioDeviceRole)

Calls the OnDefaultDeviceChanged event.

DoDeviceAdded(string)

Calls the OnDeviceAdded event.

DoDeviceRemoved(string)

Calls the OnDeviceRemoved event.

DoOpened

Calls the OnOpend event. (Inherited from TwclCustomAudio.)

DoStateChanged(string,TwclAudioDeviceState)

Calls the OnStateChanged event.

Enum(TwclAudioDeviceStates,TwclAudioDevices)

Enumerates available audio devices.

GetDefault(TwclAudioDeviceRole,TwclAudioDeviceDataFlow,string)

Gets the default Audio Device for the specified Role and Data Flow.

GetDeviceDetails(string,TwclAudioDevice)

Gets the specified Audio Device information.

InternalClose

The method called during audio subsystem finalization. (Inherited from TwclCustomAudio.)

InternalOpen

The method called during audio subsystem initialization. (Inherited from TwclCustomAudio.)

MessageReceived(TwclMessage)

The method called when a new notification message received. (Overrides TwclCustomAudio.MessageReceived(TwclMessage).)

Open

Opens the Audio Switcher component. (Overrides TwclCustomAudio.Open.)

SetDefault(TwclAudioDeviceRole,string)

Sets the specified Audio Device as default for the specified Role.

Top
Show:
 NameDescription
OnDefaultDeviceChanged

The event fires when default audio device changed.

OnDeviceAdded

The event fires when new audio device added.

OnDeviceRemoved

The event fires when audio device removed.

OnStateChanged

The event fires when audio device state changed.

Top