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?
Wav files
-
- Posts: 22
- Joined: Thu Dec 03, 2009 11:58 am
- Location: HUll, UK
- Contact:
-
- Site Admin
- Posts: 17522
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Wav files
You should also assign
RvMicrophone1.SourceType := rvsstWAV;
RvMicrophone1.SourceType := rvsstWAV;
-
- Posts: 22
- Joined: Thu Dec 03, 2009 11:58 am
- Location: HUll, UK
- Contact:
Re: Wav files
As you can see from the comment in that code fragment, it is assigned.
-
- Site Admin
- Posts: 17522
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Wav files
TRVCamMicrophone supports only uncompressed Wav files.
You can send a file sample to me (email richviewgmailcom), I'll check it.
You can send a file sample to me (email richviewgmailcom), I'll check it.
-
- Posts: 22
- Joined: Thu Dec 03, 2009 11:58 am
- Location: HUll, UK
- Contact:
Re: Wav files
OK - It does work with uncompressed WAVs. Maybe you could add that to the documentation.
Thanks
Thanks