Re: How to fix AIFF file after kAudioFileDoesNotAllow64BitDataSizeError ?
Re: How to fix AIFF file after kAudioFileDoesNotAllow64BitDataSizeError ?
- Subject: Re: How to fix AIFF file after kAudioFileDoesNotAllow64BitDataSizeError ?
- From: Simon Liu <email@hidden>
- Date: Fri, 5 Aug 2005 19:35:20 +0100
At the moment, I am supporting 10.2, so I can't use CAF, but will do
so in the future. I look forward to testing the robustness of CAF
files. Does/When will iTunes support CAF files?
With regards to AIFF, AudioFile writes out an almost complete AIFF
header after the first write, so if the application crashes, or errors
out, it's not too hard to fix the header. I find that calculating the
chunk sizes and # frames does the trick.
Also, it seems that an AIFF file is limited to a total size of 4gb
(including headers), and not as I originally thought, restricted to a
SSND chunk of 4gb in length.
On 8/5/05, William Stewart <email@hidden> wrote:
> This was another issue that we wanted to take care of with CAF files
> as well.
>
> So, for constant bit rate data (including linear PCM of course),
> there is a "crash proof" semantic that is applied to CAF files -
> details are in the docs; that is, crashing whilst in the middle of
> recording a long file does NOT result in an invalid file.
>
> Bill
_______________________________________________
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