QT QDesign decomp

Last Revision:
Version 1.0, 2003-01-14
Decompressing QDesign compressed files using the Sound Manager's SoundConvert routines and QuickTime QDesign codecs.
Build Requirements:
Runtime Requirements:
Carbon

QDesign decompression information: Version 1.0.1 fixes a hard coded constant, the source format (inputFormat.format), to be read from the AIFF file decompression atom instead. This fixes a bug where not all QDesign sounds would decompress. This sample is designed to show you how to create the required QuickTime atom and send it to the QDesign decompression codecs so that you can decompress QDesign compressed AIFF files using the Sound Manager's SoundConvert routines and the QuickTime QDesign 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 and SoundCallBackFcn.