Re: ExtAudioFileRead Min Buffer Size
Re: ExtAudioFileRead Min Buffer Size
- Subject: Re: ExtAudioFileRead Min Buffer Size
- From: David Duncan <email@hidden>
- Date: Mon, 21 May 2007 12:20:17 -0700
On May 21, 2007, at 4:49 AM, Pulkit Mathur wrote:
When I use ExtAudioFileRead api to read data from an mp3 file, my
application crashes after reading some data from the file. The
crash happen
in the ExtAudioFileRead api. I debugged the code and found that,
when I
change my buffer size >= (1024 * 5) then, my code is running fine.
But when
I change the buffer size < (1024 *5) then ExtAudioFileRead starts
crashing
again.
You should ask this on the CoreAudio-API list <http://lists.apple.com/
mailman/listinfo/coreaudio-api>. In the past when I've used this API
however it didn't seem to require a minimum buffer size, but then I
was reading/writing AIFF rather than MP3 so I might have been
shielded form this issue...
--
David Duncan
Apple DTS Quartz and Printing
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden