Re: Avoid insertion of FLLR chunk with ExtAudioFile wave files
Re: Avoid insertion of FLLR chunk with ExtAudioFile wave files
- Subject: Re: Avoid insertion of FLLR chunk with ExtAudioFile wave files
- From: Iain McCowan <email@hidden>
- Date: Wed, 10 Aug 2011 20:31:59 +1000
Kelly,
Thank you for that - I have changed to using ExtAudioFileCreateWithURL with the flag you suggested, and it's all working perfectly.
I should have read the AudioFile header more intently instead of just focussing on the ExtAudioFile headers.
cheers,
Iain.
On Wed, Aug 10, 2011 at 12:50 AM, kelly jacklin
<email@hidden> wrote:
You can also just set the kAudioFileFlags_DontPageAlignAudioData flag when you create the file. The FLLR chunk is used to page-align the sample data (makes for more efficient I/O, since if the buffer and data are both aligned, the kernel can skip a copy and DMA directly into the prepared IO buffer, IIRC), so using the flag above causes it to inhibit this alignment, which in turn will inhibit the creation of the FLLR chunk.
kelly
_______________________________________________
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