• 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
ExtAudioFile skipping frames at end of certain M4A files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ExtAudioFile skipping frames at end of certain M4A files


  • Subject: ExtAudioFile skipping frames at end of certain M4A files
  • From: Michael Tyson <email@hidden>
  • Date: Thu, 10 May 2012 20:28:25 +0200

Hello,

I've an M4A AAC file here sent to me by a user of my looper app - it's 1,065,920 frames long. I can load it up in an audio editor, and see it fades to silence at the end, forming a seamless loop.

If I load the file using ExtAudioFile, however, it reports the length as 1,065,165 frames (755 frames shorter), and glitches at the boundary when played as a loop, due to the missing end frames. This occurs in the MixerHost sample code, when I replace the bundled sample audio files with my M4A.

If I open this M4A in Amadeus Pro, and re-save it as a new M4A, the new file is loaded perfectly by ExtAudioFile, no skipped frames.

Has anyone seen this before? I'm trying to determine whether it's an incorrectly-coded M4A and Amadeus Pro is simply more lenient, or a legal M4A, and a bug in ExtAudioFile.

Many thanks,
Michael


 _______________________________________________
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

  • Follow-Ups:
    • Re: ExtAudioFile skipping frames at end of certain M4A files
      • From: Michael Tyson <email@hidden>
  • Prev by Date: How to use CAAudioUnitOutputCapturer
  • Next by Date: Audio Plugins, Gatekeeper, and OS X Mountain Lion
  • Previous by thread: Re: How to use CAAudioUnitOutputCapturer
  • Next by thread: Re: ExtAudioFile skipping frames at end of certain M4A files
  • Index(es):
    • Date
    • Thread