Does anyone have an example of playing back the audio stream from an AVI file. I have used the AVI library to extract the frames from an AVI file but I have never tried playing back the audio.
I assume the audio data is in PCM format since the video data comes back already decompressed. If thats the case, is there a way to play PCM data from memory?
Thanks in advance.
-Vince
AVI Audio Stream
The AVI Library invokes the necessary audio/video decoders automatically and return a DIB for each frame as well as the decoded audio stream. I assume an uncompressed audio stream will be in PCM format, so I am really looking for a way to play a PCM buffer.
It looks like there are some functions in FBSound that would allow me to create an empty wave and fill the buffer manually. I just thought there might be some free code floating around the BB that would save me some time.
Plagiarism is the most sincere form of flattery! :=)
-Vince
It looks like there are some functions in FBSound that would allow me to create an empty wave and fill the buffer manually. I just thought there might be some free code floating around the BB that would save me some time.
Plagiarism is the most sincere form of flattery! :=)
-Vince