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

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

  • Prev by Date: Recording and streaming in a HAL plugin/driver
  • Next by Date: Re: Recording and streaming in a HAL plugin/driver
  • Previous by thread: Re: Recording and streaming in a HAL plugin/driver
  • Next by thread: kAudioUnitSubType_MultiChannelMixer seems to apply fade-in: Possibly to prevent?
  • Index(es):
    • Date
    • Thread