<< Click to display table of contents >> TCustomRVAudioPlayer |
This is the ancestor class for TRVAudioPlayer component.
Unit [VCL and LCL] MRVType;
Unit [FMX] fmxMRVType;
Syntax
TCustomRVAudioPlayer = class (TCustomRVAudioOutput)
TObject TPersistent TComponent |
Use
Objects of this class are not used directly. TRVAudioPlayer components are used instead.
Choosing an audio output device
By default, the component plays sound on the default audio output device. You can choose another device (speakers, headphones, etc.)
A list of available devices is returned in AudioOutputDeviceList array property, the count of devices is returned in AudioOutputDeviceCount property.
You can choose the device by assigning to AudioOutputDeviceIndex property (you can assign an index in AudioOutputDeviceList, or -1 to choose the default device).
Properties
The component starts playing sound when True is assigned to Active.
The following properties allow changing the system properties of the device (affect all applications): Volume.
The following properties allow changing the sound: VolumeMultiplier, NoiseReduction, Pitch.
Mute turns off sound.