• 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: IO Buffer Size Range
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IO Buffer Size Range


  • Subject: Re: IO Buffer Size Range
  • From: AI Developer <email@hidden>
  • Date: Wed, 20 Aug 2008 11:28:06 +0530

Hi Jeff,

This makes a lot of sense now!

Thank you for the quick reply!

Devendra.

Jeff Moore wrote:

On Aug 19, 2008, at 10:19 PM, AI Developer wrote:

How does the CoreAudio/HAL determine the I/O buffer size range for a device/driver?

This is the range that's retrieved by kAudioDevicePropertyBufferFrameSize property.

The maximum value seems to be related to the value passed to IOAudioEngine::setNumSampleFramesPerBuffer() by the driver.

But it's not obvious in terms of what the relationship is between the two.

Currently for IOAudio-based devices, the minimum is always however many frames fit into 300 microseconds (for example 14 frames at 44100). The maximum is always 3/8ths the number of frames in the ring buffer.



Is there a way that a driver can directly control these values?

The only influence the driver has is through it's control of the size of the ring buffer.



_______________________________________________ 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: 
 >IO Buffer Size Range (From: AI Developer <email@hidden>)
 >Re: IO Buffer Size Range (From: Jeff Moore <email@hidden>)

  • Prev by Date: Re: IO Buffer Size Range
  • Next by Date: Initialisation problem when creating an aggregate device programmatically
  • Previous by thread: Re: IO Buffer Size Range
  • Next by thread: Initialisation problem when creating an aggregate device programmatically
  • Index(es):
    • Date
    • Thread