Page 1 of 1

TRVAudioPlayer not working with default input device index

Posted: Thu May 11, 2023 6:13 pm
by kingdomsrl
When trying to activate a TRVAudioPlayer whose AudioOutputDeviceIndex is -1 (default) a "Range check error" occurs. To avoid this an explicit (>=0) input device index must be specified e.g.

Code: Select all

RVAudioPlayer1.AudioOutputDeviceIndex:=0;
Then activation works as intended.