Wav files
Posted: Thu Jun 10, 2021 9:50 am
I cannot get playing from Wav files to work. According to the documentation, this should be OK:
procedure TfrmMain.btn_audiofileClick(Sender: TObject);
begin
// Microphone has SourceType rvsstWav
if opendialog1.Execute then
begin
rvmicrophone1.WavFileName:= opendialog1.FileName;
rvmicrophone1.active := true;
end;
end;
I tried this by adding a button to the Conference demo. None of the audio events fire, and the file does not play. Is some other step needed?
procedure TfrmMain.btn_audiofileClick(Sender: TObject);
begin
// Microphone has SourceType rvsstWav
if opendialog1.Execute then
begin
rvmicrophone1.WavFileName:= opendialog1.FileName;
rvmicrophone1.active := true;
end;
end;
I tried this by adding a button to the Conference demo. None of the audio events fire, and the file does not play. Is some other step needed?