• 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
Re: IOAudioEngine::performFormatChange cannot be triggered by change of I/O Buffer Size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IOAudioEngine::performFormatChange cannot be triggered by change of I/O Buffer Size


  • Subject: Re: IOAudioEngine::performFormatChange cannot be triggered by change of I/O Buffer Size
  • From: Jeff Moore <email@hidden>
  • Date: Tue, 02 Dec 2008 12:41:36 -0800


On Dec 2, 2008, at 12:22 AM, David Tan wrote:

On the device window of HALLab, there’re combo box of Nominal Sample Rate and IO Buffer Size.
While I change the selection of Nominal Sample Rate, I can get notification by IOAudioEngine::performFormatChange().
But it seems that change of IO Buffer Size cannot make it.
 
My question is: what’s the IO Buffer Size really means? Hardware or driver?

That is the duration in sample frames of the IO cycle that the application is requesting. It is wholly separate from the buffers in the driver and the hardware.

And If I want to be informed in the driver of its change, which method should I use.

About the only way you can monitor what buffer sizes the clients of your driver are using, is to override IOAudioStream::addClient and IOAudioStream::removeClient to observe as client buffers are registered and unregistered.

-- 

Jeff Moore
Core Audio
Apple


 _______________________________________________
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

References: 
 >IOAudioEngine::performFormatChange cannot be triggered by change of I/O Buffer Size (From: "David Tan" <email@hidden>)

  • Prev by Date: Re: Problem with CAPlayThrough and Tiger
  • Next by Date: Re: IOAudioEngine::clipOutputSamples cannot be called
  • Previous by thread: IOAudioEngine::performFormatChange cannot be triggered by change of I/O Buffer Size
  • Next by thread: IOAudioEngine::clipOutputSamples cannot be called
  • Index(es):
    • Date
    • Thread