• 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
Re: ExtendedAudioFile (AAC issue)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ExtendedAudioFile (AAC issue)


  • Subject: Re: ExtendedAudioFile (AAC issue)
  • From: james mccartney <email@hidden>
  • Date: Thu, 2 Aug 2007 11:57:20 -0700


How are you computing that you are missing 2112 frames? number of packets times 1024 frames per packet? If so, you are missing the fact that the AAC encoder has 2112 frames of priming which do not show up in the output. This priming info is encoded into CAF files and can be obtained. Different encoders may have different priming.



On Aug 2, 2007, at 11:44 AM, thomas rettich wrote:


Hi,

I use extendedAudio file API to write and read compressed AAC files.
My file writing code is based on the RecordAudioToFile (sample code).
ASBD = {44100.0, kAudioFormatMPEG4AAC, 0, 0, 1024, 0, 2, 0, 0};

when I try to read the AAC files created with ExtendedAudioFileRead, all works fine,
except,
I cannot read the last 2112 frames.
ExtendedAudioFileRead always returns 0 frames, for these remaining ones.


could there be a problem in the file writing sample code, or is there something I have to set up in the reading
with extended audio file to be able to extract all frames ?


Any hints on how to sole this would be much appreciated!

Thanks in advance,

Thomas
_________________________________________________________________
Gefunden! Tolle Bilder von Kati Witt gibt es hier!
http://search.msn.de/images/results.aspx?q=katarina witt&form=MIDGPS
_______________________________________________
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

_______________________________________________ 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: ExtendedAudioFile (AAC issue)
      • From: Dave Fernandes <email@hidden>
References: 
 >ExtendedAudioFile (AAC issue) (From: thomas rettich <email@hidden>)

  • Prev by Date: ExtendedAudioFile (AAC issue)
  • Next by Date: Re: Coreaudio-api Digest, Vol 4, Issue 206
  • Previous by thread: ExtendedAudioFile (AAC issue)
  • Next by thread: Re: ExtendedAudioFile (AAC issue)
  • Index(es):
    • Date
    • Thread