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 protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to