TRVAudioPlayer not working with default input device index

RVMedia support and discussion (components for displaying and controlling IP cameras, webcams, video conferencing, video chats, recording audio and video files)
Post Reply
kingdomsrl
Posts: 7
Joined: Thu May 11, 2023 2:42 pm

TRVAudioPlayer not working with default input device index

Post 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.
Post Reply