TwclAudioVolume Class
The component provides methods to control volume control for an audio endpoints.
type TwclAudioVolume = class(TwclCustomAudioEndpoint) end;
The TwclAudioVolume type exposes the following members.
Name | Description | |
---|---|---|
Create(TComponent) | Creates new audio volume component. (Overrides TwclCustomAudioEndpoint.Create(TComponent).) |
Name | Description | |
---|---|---|
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.) |
Name | Description | |
---|---|---|
Close | Closes the audio endpoint. (Overrides TwclCustomAudio.Close.) | |
DoChanged(Boolean,Single,TwclAudioPeakValues) | The method fires the | |
DoClosed | Calls the | |
DoDisconnected | Fires the OnDisconnected event. (Inherited from TwclCustomAudioEndpoint.) | |
DoOpened | Calls the | |
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. |