ScheduledAudioFileRegion mCompletionProc
ScheduledAudioFileRegion mCompletionProc
- Subject: ScheduledAudioFileRegion mCompletionProc
- From: Robert Carroll <email@hidden>
- Date: Fri, 08 Jun 2012 12:06:35 -0400
Hi,
Can anyone point me to some sample code, or suggestion of how to use the mCompletionProc in a ScheduledAudioFileRegion?
I have an AudioGraph that is playing audio with a FilePlayer Unit. I need a way to tell when the active audio fileRegion has finished playing so that I can reset the FilePlayer with the next region to play.
It seems like I should be able to check the kScheduledAudioSliceFlag_Complete, but the timing varies, so ideally I need something that is triggered automatically with the end of the file segment.
thanks,
rob
_______________________________________________
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