Re: Callback when AUFilePlayer is finished?
Re: Callback when AUFilePlayer is finished?
- Subject: Re: Callback when AUFilePlayer is finished?
- From: "M. Uli Kusterer" <email@hidden>
- Date: Wed, 18 Oct 2006 15:13:02 +0200
On 18.10.2006, at 14:53, tahome izwah wrote:
I'm not sure if it helps but I am using the following code in my own
program to play a file. Works perfectly and you know when you're done
playing it. This is derived from some Apple example code that is in
the CoreAudio examples directory. This means that you need some of the
AudioFilePlayer support files in your project as well.
Yeah, I'm basing my stuff off the same sample code. It's just that
I need to run in GUI code where the sound can be paused and resumed,
so I can't just usleep, and if there was a bit of drift this could
cause the sound to cut off a tad prematurely. See my other posting
for more info on what I eventually went with.
Cheers,
-- M. Uli Kusterer
_______________________________________________
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