• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Oops! Digest messed me up
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Still only get Built-in Audio Controller
      • From: aNt <email@hidden>
  • Prev by Date: Stopping a Audio Unit From Callback PROPERLY
  • Next by Date: Re: Stopping a Audio Unit From Callback PROPERLY
  • Previous by thread: Re: Stopping a Audio Unit From Callback PROPERLY
  • Next by thread: Still only get Built-in Audio Controller
  • Index(es):
    • Date
    • Thread