• 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: ExtAudioFileRead Min Buffer Size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >ExtAudioFileRead Min Buffer Size (From: "Pulkit Mathur" <email@hidden>)

  • Prev by Date: Re: Mouse position from NSEvent starts at (0, 1) ?
  • Next by Date: Re: How do I make a singleton object AppleScriptable?
  • Previous by thread: Re: ExtAudioFileRead Min Buffer Size
  • Next by thread: available languages
  • Index(es):
    • Date
    • Thread