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: William Stewart <email@hidden>
- Date: Thu, 4 Aug 2005 15:40:56 -0700
AIFF is not able to write files this big.
CAF File (Core Audio Format) can - see documentation available at
developer.apple.com/audio
This is a new file format we've introduced with Tiger and this is
indeed one of the problems we seek to address
Bill
On 04/08/2005, at 1:00 PM, Simon Liu wrote:
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
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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