TwclAudioVolume Class

The component provides methods to control volume control for an audio endpoints.

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

The TwclAudioVolume type exposes the following members.

Show:
 NameDescription
Create(TComponent)

Creates new audio volume component. (Overrides TwclCustomAudioEndpoint.Create(TComponent).)

Top
Show:
 NameDescription
Active

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

Enumerator

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

Id

Gets the endpoint ID. (Inherited from TwclCustomAudioEndpoint.)

OnClosed

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

OnDisconnected

The even fires when the endpoint used by this class has been disconnected or removed. (Inherited from TwclCustomAudioEndpoint.)

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 endpoint. (Overrides TwclCustomAudio.Close.)

DoChanged(Boolean,Single,TwclAudioPeakValues)

The method fires the OnChanged event.

DoClosed

Calls the OnClosed event. (Inherited from TwclCustomAudio.)

DoDisconnected

Fires the OnDisconnected event. (Inherited from TwclCustomAudioEndpoint.)

DoOpened

Calls the OnOpend event. (Inherited from TwclCustomAudio.)

GetChannels(Cardinal)

Gets the number of channels in the audio stream that are controlled by the volume control. (Overrides TwclCustomAudioEndpoint.GetChannels(Cardinal).)

GetChannelVolume(Cardinal,Single)

Gets the channel volume level of the audio stream that enters or leaves the audio endpoint device. The volume level is expressed as a normalized, audio-tapered value in the range from 0.0 to 1.0.

GetHardwareFeatures(TwclAudioHardwareFeatures)

Queries the audio endpoint device for its hardware-supported functions. (Overrides TwclCustomAudioEndpoint.GetHardwareFeatures(TwclAudioHardwareFeatures).)

GetMute(Boolean)

Gets the audio endpoint mute.

GetVolume(Single)

Gets the master volume level of the audio stream that enters or leaves the audio endpoint device. The volume level is expressed as a normalized, audio-tapered value in the range from 0.0 to 1.0.

InternalClose

The method called during audio subsystem finalization. (Overrides TwclCustomAudio.InternalClose.)

InternalOpen

The method called during audio subsystem initialization. (Overrides TwclCustomAudio.InternalOpen.)

MessageReceived(TwclMessage)

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

Open(string)

Opens the specified audio endpoint. (Inherited from TwclCustomAudioEndpoint.)

SetChannelVolume(Cardinal,Single)

Sets the channel volume level of the audio stream that enters or leaves the audio endpoint device. The volume level is expressed as a normalized, audio-tapered value in the range from 0.0 to 1.0.

SetMute(Boolean)

Sets the audio endpoint mute.

SetVolume(Single)

Sets the master volume level of the audio stream that enters or leaves the audio endpoint device. The volume level is expressed as a normalized, audio-tapered value in the range from 0.0 to 1.0.

Top
Show:
 NameDescription
OnChanged

The event fires when the volumes of the specified audio endpoint changed.

Top