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 protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com This email sent to [email protected]
