How to fix AIFF file after kAudioFileDoesNotAllow64BitDataSizeError ?
How to fix AIFF file after kAudioFileDoesNotAllow64BitDataSizeError ?
- Subject: How to fix AIFF file after kAudioFileDoesNotAllow64BitDataSizeError ?
- From: Simon Liu <email@hidden>
- Date: Thu, 4 Aug 2005 21:00:39 +0100
How can I handle writing AIFF files to their maximum 4gb size?
When using AudioFileWriteBytes() to write out a large AIFF file, when
it reaches the limit of 4GB, I get an error
kAudioFileDoesNotAllow64BitDataSizeError 'off?'. I also invoke
AudioFileClose(). However, the AIFF file is now not readable with
QuickTime (QTPlayer won't load it). How can this be fixed?
I think the issue is to do with the AIFF header not having the size of
the data chunk set correctly. Perhaps there is some other stuff too.
I re-opened the file with AudioFileOpen(), read all the data, and then
called AudioFileClose(). This did not fix the issue.
I suppose I could ensure that the number of bytes written will never
cause kAudioFileDoesNotAllow64BitDataSizeError to occur... but I'm
hoping that there is an easy way to fix the AIFF file.
_______________________________________________
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