kExtAudioFileError_AsyncWriteBufferOverflow
kExtAudioFileError_AsyncWriteBufferOverflow
- Subject: kExtAudioFileError_AsyncWriteBufferOverflow
- From: Iain McCowan <email@hidden>
- Date: Sat, 26 Jan 2013 06:51:41 +1000
Hello,
I am using ExtAudioFileWriteAsync() in my audio callback.
After some time, I see that the writes can sometime fail with kExtAudioFileError_AsyncWriteBufferOverflow, and then of course continue to do so.
Does anyone have some advice on how to best handle this error without dropping samples?
I've read on past threads here that by default ExtAudioFileWriteAsync has an internal 64k ring buffer, but I cannot see any way to increase this. Anyone done this?
I suspect it might help clear the backlog faster if the internal thread was doing the eventual file writes in larger chunks? Will adjusting kExtAudioFileProperty_IOBufferSizeBytes help achieve this?
I have tried a few things, but hard to see any way for the file to "catch up" without giving it breathing space by dropping samples.
Any advice appreciated,
Iain.
_______________________________________________
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