Re: Callbacks?
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
References: | |
| >Callbacks? (From: Paul Fredlein <email@hidden>) |