<< Click to display table of contents >> TCustomRVAudioPlayer.AudioOutputDeviceIndex, AudioOutputDeviceCount, AudioOutputDeviceList |
Properties allowing to choose an audio output device (such as speakers or headphones)
property AudioOutputDeviceIndex: Integer;
property AudioOutputDeviceCount: Integer;
property AudioOutputDeviceList[Index: Integer]: String;
AudioOutputDeviceCount returns the count of available audio output devices.
AudioOutputDeviceList[Index] (where Index is in the range 0..AudioOutputDeviceCount-1) returns names of devices. These names can be shown to users in the application UI.
Assign a value in the range 0..AudioOutputDeviceCount-1 to AudioOutputDeviceIndex to choose the device. Alternatively, you can assign -1 to use the default device.