Version:
1.1.1
Date:
Tuesday, December 14, 1999
Description:
The primary purpose of this sample code is to show developers how to use SndPlayDoubleBuffer
to play AIFF, WAVE, and .au files asynchronously from disk.
To this end this sample can be used to show you how to:
1) parse an AIFF, 'snd ' resource, WAVE, or .au header
2) use PBReadAsync() at interrupt time
3) munge AIFF, WAVE, and .au data into a form the Sound Manager can play
4) set up the sound header to play compressed and uncompressed sounds
5) instantly (well, really quickly) pause a sound
6) stop a sound so you can play from some other part of the sound
7) make it sound like you are playing a sound backwards
8) use completion routines
9) have fun with sounds
Requires:
Code Warrior Pro 5 (to open the project file), a Mac that's fast enough to
play sound from disk.
Samples are designed to work with CodeWarrior 2 or later and Universal Interfaces 3.2 unless otherwise noted. Archives can be uncompressed with StuffIt Expander 5.0 or later.
|