TRVAudioPlayer not working with default input device index
Posted: Thu May 11, 2023 6:13 pm
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.
Then activation works as intended.
Code: Select all
RVAudioPlayer1.AudioOutputDeviceIndex:=0;