• 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
AudioConverterFillComplexBuffer stops being called when data starved
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AudioConverterFillComplexBuffer stops being called when data starved


  • Subject: AudioConverterFillComplexBuffer stops being called when data starved
  • From: mike woodworth <email@hidden>
  • Date: Wed, 20 Jun 2007 13:50:16 -0400


Hello,

I'm finally making the sort of progress in core audio that results in actual sounds coming out of my speakers - a big encouragement to keep pressing on!  However, I've run into a problem with audioconverters I'm hoping someone can help me answer.

I have a default output with a input Proc that in turn calls AudioConverterFillComplexBuffer() to get the setup audioconverter to convert more data and return it.  This is working fine, until the first time my incoming buffer of compressed data gets completely emptied.  At this point, I return noErr and 0 packets from the AudioConverterComplexInputDataProc callback.  From then on, my render callback continues calling AudioConverterFillComplexBuffer(), but this in turn no longer calls my AudioConverterComplexInputDataProc callback for additional data.

What am I doing wrong?  Do I need to reset something in the converter after a stall like this?  Should I be returning something other than noErr from the callback?

mike
--
Mike Woodworth
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

  • Follow-Ups:
    • Re: AudioConverterFillComplexBuffer stops being called when data starved
      • From: Jeff Moore <email@hidden>
  • Prev by Date: how to connect inbus/element 0 to outbus/element 0,1,2,3
  • Next by Date: Re: AudioConverterFillComplexBuffer stops being called when data starved
  • Previous by thread: how to connect inbus/element 0 to outbus/element 0,1,2,3
  • Next by thread: Re: AudioConverterFillComplexBuffer stops being called when data starved
  • Index(es):
    • Date
    • Thread