Oops! Digest messed me up
Oops! Digest messed me up
- Subject: Oops! Digest messed me up
- From: Brian Barnes <email@hidden>
- Date: Sun, 30 Sep 2001 01:53:44 -0400
I asked more questions thinking my original (and now out of date)
questions weren't answered, but Bill got to them. Yahoo for Bill!
So, a follow up to the previous question. AudioOutputUnitStop does NOT
seem to work within a callback, but returning an error does. Whatever I
do, I never clip a sound, I'll fill the buffer's with zeros if I run out
of data and cancel the sound on the next callback.
I have a very nice piece of sample code; Bill, if you or anybody else
wants it (or wants to take a look at it) it could form the basis for a
good developer example, which I think is really needed (if you can't
tell by my dumb guy questions at the very beginning.) The code handles,
in a nice API:
reading in AIFFs
keeping a cache of pre-calculated sounds
keeping a cache of audio units
looping or single-shot sounds
panning
[>] Brian