• 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
How to fix AIFF file after kAudioFileDoesNotAllow64BitDataSizeError ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: How to fix AIFF file after kAudioFileDoesNotAllow64BitDataSizeError ?
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: XCODE 2.1 targeting Panther
  • Next by Date: RE: XCODE 2.1 targeting Panther
  • Previous by thread: RE: XCODE 2.1 targeting Panther
  • Next by thread: Re: How to fix AIFF file after kAudioFileDoesNotAllow64BitDataSizeError ?
  • Index(es):
    • Date
    • Thread