• 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
ExtAudioFileWriteAsync io buffer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ExtAudioFileWriteAsync io buffer


  • Subject: ExtAudioFileWriteAsync io buffer
  • From: patrick machielse <email@hidden>
  • Date: Tue, 18 Nov 2014 16:05:10 +0100

We're using ExtAudioFileWriteAsync() to record audio to disk while our application is playing music. ExtAudioFileWriteAsync is called from the render callback installed on the main AUGraph in our application.

Using the default configuration of ExtAudioFile, we sometimes encounter an error -66570 (kExtAudioFileError_AsyncWriteBufferOverflow) returned from ExtAudioFileWriteAsync(). It's not clear if this is a recoverable error, we assume it is not.

We've decided to increase the kExtAudioFileProperty_IOBuffer and associated kExtAudioFileProperty_IOBufferSizeBytes properties to 4 Mb (from the default 64 kb) in the hope that this will prevent the problem.

Is there a way to 'know' which buffer size will be large enough?


Thanks,

patrick
--
Patrick Machielse
Hieper Software

http://www.hieper.nl
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


  • Prev by Date: AVAudioSessionSilenceSecondaryAudioHintNotification
  • Next by Date: Displaying playing track information
  • Previous by thread: AVAudioSessionSilenceSecondaryAudioHintNotification
  • Next by thread: Displaying playing track information
  • Index(es):
    • Date
    • Thread