Re: Callbacks?
Re: Callbacks?
- Subject: Re: Callbacks?
- From: Paul Fredlein <email@hidden>
- Date: Tue, 29 Nov 2005 14:17:25 +1000
Hi Bill,
They aren't sound effects but spoken word, each snippet may be from 2
seconds to as long as 6 seconds. There can be up to 20 of them which
need to be play sequentially. I would need to be able to cancel
playback whenever possible even in the middle of one.
Thanks,
Paul
On 29/11/2005, at 12:56 PM, William Stewart wrote:
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:
40apple.com
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