avi audio stream

Started by
1 comment, last by WizHarDx 20 years, 5 months ago
Hi people, Ive been writing an avi reader. The video as worked perfectly. But I have now gone onto the audio. I have managed to get the bytes of data, the waveformatex and have found out the audio is compressed. I could tell this because the use of the WORD wFormatTag in WAVEFORMATEX was causing the program to crash. So I looked up the diffrent compression types in MMREG.h and there well over 30 types and I can''t write a program to decompress them all. Are there functions publically given which can decompress audio for an avi file? thanx in advance Iain
who is it that keeps on nicking WizHarD name !! :P
Advertisement
The Audio Compression Manager might be able to help. MSDN has information on it. You use functions such as acmStreamOpen.

Ro_Akira
DirectShow
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara

This topic is closed to new replies.

Advertisement