• 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
Re: ExtAudioFile and AIFF Files > 4GB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ExtAudioFile and AIFF Files > 4GB


  • Subject: Re: ExtAudioFile and AIFF Files > 4GB
  • From: William Stewart <email@hidden>
  • Date: Mon, 3 Nov 2008 12:46:48 -0800

yes please (on the bug)

AIFF and WAV are limited to < 4GB data sizes - a big part of what motivated us to do CAF in the first place was to provide a clean solution to this (and to storing VBR data in a clean audio-only based file format)

Bill

On Nov 1, 2008, at 6:25 PM, Brian Willoughby wrote:

Another thing to note is that (IIRC) the AIFF specification makes a point that only one SSND chunk is allowed. Even if it weren't for the total file size in the FORM chunk at the start of the file, you still cannot have a valid AIFF with anything except exactly one SSND chunk.

You are correct that a bug report is prudent. Crashing should never be a result of API calls (unless you pass a bad pointer or something).

Brian Willoughby
Sound Consulting


On Nov 1, 2008, at 14:31, tahome izwah wrote: Thanks - that would explain the write error, but it shouldn't crash ExtAudioFile, right?

Maybe it's time to file a bug...


2008/11/1 David Duncan <email@hidden>:
On Nov 1, 2008, at 12:23 PM, tahome izwah wrote:
Well, my understanding of the AIFF/AIFC specs was that if you have
more than 4GB of data this would be broken down into separate chunks.
Does ExtAudioFile not do this for you??


Also, I have the same problem with WAVE files - do they also use 32bit
offsets?

Both AIFF and WAVE keep a 32-bit "total file size" marker at the start of
the file. This prevents either format from going past 4GB without
extensions.
_______________________________________________
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

_______________________________________________ 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
References: 
 >ExtAudioFile and AIFF Files > 4GB (From: "tahome izwah" <email@hidden>)
 >Re: ExtAudioFile and AIFF Files > 4GB (From: David Duncan <email@hidden>)
 >Re: ExtAudioFile and AIFF Files > 4GB (From: "tahome izwah" <email@hidden>)
 >Re: ExtAudioFile and AIFF Files > 4GB (From: David Duncan <email@hidden>)
 >Re: ExtAudioFile and AIFF Files > 4GB (From: "tahome izwah" <email@hidden>)
 >Re: ExtAudioFile and AIFF Files > 4GB (From: Brian Willoughby <email@hidden>)

  • Prev by Date: Re: CoreAudio in Simulator Bug ?
  • Next by Date: Re: question of time (and frames)
  • Previous by thread: Re: ExtAudioFile and AIFF Files > 4GB
  • Next by thread: optimizing midi packet processing
  • Index(es):
    • Date
    • Thread