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
l0ne (on mac) - 28 Nov 2005 06:09 GMT
> I will need some kind of callback mechanism
> to play the next snippet after the previous one has finished playing
You will have to provide a delegate object. See NSSound for help.
- ∞