ScheduledAudioFileRegion completion called early
ScheduledAudioFileRegion completion called early
- Subject: ScheduledAudioFileRegion completion called early
- From: Valentin Radu <email@hidden>
- Date: Sun, 17 Jan 2016 21:34:27 +0200
Hello community,
I have an ScheduledAudioFileRegion that starts form mStartFrame and goes on for totalFrameCount - mStartFrame frames. (from mStartFrame to end). Problem is, the mCompletionProc callback is called a little early, several frames before the end. I’ve double checked and the ScheduledAudioFileRegion struct has the correct mStartFrame and mFramesToPlay values and what’s strange is that is actually fires before kAudioUnitProperty_CurrentPlayTime == mFramesToPlay. So, basically, it fires before completing the current region.
Is this a know issue? Could it be that the value obtained through kAudioUnitProperty_CurrentPlayTime is not accurate?
Thanks!
Valentin Radu
_______________________________________________
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