Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

WizHarDx

avi audio stream

This topic is 5334 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
The Audio Compression Manager might be able to help. MSDN has information on it. You use functions such as acmStreamOpen.

Ro_Akira

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!