• 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
Re: Callbacks?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Callbacks?


  • Subject: Re: Callbacks?
  • From: William Stewart <email@hidden>
  • Date: Mon, 28 Nov 2005 18:56:27 -0800

If these are sound effect types of sounds (like for instance the "New Mail" sound, or "Empty Trash" sound) then the API in SystemSound.h would be ideal for this.

Bill

On 27/11/2005, at 4:42 PM, Paul Fredlein wrote:

Hi,

I have many, up to 20, small audio snippets that are loaded into memory and need to be played one after another and so that the user interface remains responsive I assume I will need some kind of callback mechanism to play the next snippet after the previous one has finished playing. Is there any simple sample code in Cocoa (or perhaps Carbon) which would help?

I was playing them synchronously from within a loop in Carbon but that's probably not the way to do it.

Thanks,

Paul

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Callbacks?
      • From: Paul Fredlein <email@hidden>
    • DV cam input
      • From: "Tim Dorcey" <email@hidden>
References: 
 >Callbacks? (From: Paul Fredlein <email@hidden>)

  • Prev by Date: Re: File formats and codecs usable with ExtAudioFile API
  • Next by Date: DV cam input
  • Previous by thread: Callbacks?
  • Next by thread: DV cam input
  • Index(es):
    • Date
    • Thread