• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
ScheduledAudioFileRegion completion called early
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Still trying to write buffers to audio file.
  • Next by Date: local notification
  • Previous by thread: Re: plugin developers responsibilities
  • Next by thread: local notification
  • Index(es):
    • Date
    • Thread