Re: ExtendedAudioFile (AAC issue)
Re: ExtendedAudioFile (AAC issue)
- Subject: Re: ExtendedAudioFile (AAC issue)
- From: Dave Fernandes <email@hidden>
- Date: Thu, 2 Aug 2007 17:18:55 -0400
A related question...
The documentation for ExtAudioFileRead says that the function will
sometimes return fewer than the requested number of frames. If this
happens, should you try again to get more frames? Or can you stop
reading the first time you get fewer than the requested number of
frames?
Dave
On Aug 2, 2007, at 2:57 PM, james mccartney wrote:
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%
20witt&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:
40apple.com
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:
40utoronto.ca
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