Not Recommended Documentclose button

Important: The information in this document is Not Recommended and should not be used for new development.

Current information on this Reference Library topic can be found here:

Version: 1.0

Posted: 2003-01-14

Build Requirements: N/A

Runtime Requirements: Carbon

View Source Code:

Download Sample (“QTimadecompression.zip”, 21.7K)
Download Sample (“QTimadecompression.dmg”, 78.6K)



Description

This sample is designed to show you how to create the required QuickTime atom and send it to the IMA decompression codecs so that you can decompress IMA compressed WAVE files using the Sound Manager's SoundConvert routines and the QuickTime IMA codecs. This sample also shows a tecnique of playing a sound that doesn't rely on doing any work, other than setting a flag, at interrupt time. Use this tecnique if you want to be a friendly application, but not if you can't stand to have sound dropouts. The interesting bits are in PlaySound, DoIdle, and SoundCallBackFcn. While this code has a basic knowledge of the structure of a WAVE file, I would not use this code as a sample showing the most correct and complete way to parse a WAVE file.

Document Revision History

Date Notes
2003-01-14Create a QuickTime atom to decompress IMA compressed WAVE files.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.