TVolumeControl Class

TPersistent→TVolumeControl

type TVolumeControl = class(TPersistent);

Properties

NameTypeDescription
ChannelCountintegerReturn channel count for the currently selected device.
ChannelLevelsingleSet or et the volume level for individual channels in the range from 0.0 to 1.0.
ChannelLevelDBsingleSet or et the volume level for individual channels in the range from mininimum dB to max.
HardwareSupportbooleanReturns true, if Volume is controled in the hardware.
MasterLevelsingleSet or et the volume level for all channels in the range from 0.0 to 1.0.
MasterLeveldBsingleSet or et the volume level for call channels in the range from mininimum dB to max.
MutebooleanSet to True to mute and to False to unmute the currently selected device.
VolumeStepintegerReturns the current volume Step Index in the range from 0 to VolumeStepCount-1.
VolumeStepCountintegerReturns the number of Steps of the Volume control.

Methods

NameDescription
GetVolumeRangeThe GetVolumeRange method gets the volume range, in decibels, of the audio stream that enters or leaves the audio endpoint device.
StepDownThe StepDown method by one step decrements, the volume level of the audio stream that enters or leaves the audio endpoint device.
StepUpThe StepUp method by one step increments, the volume level of the audio stream that enters or leaves the audio endpoint device.