• 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: Possible Buffer Size of an audio device
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Possible Buffer Size of an audio device


  • Subject: Re: Possible Buffer Size of an audio device
  • From: Jeff Moore <email@hidden>
  • Date: Fri, 14 Oct 2005 10:46:35 -0700

First off, kAudioDevicePropertyBufferSizeRange is basically deprecated in favor of kAudioDevicePropertyBufferFrameSizeRange.

Secondly, all values between the min and max are allowed. However, the smaller sizes may have performance issues if the hardware isn't fast enough.

Finally, be sure to check for errors when you set kAudioDevicePropertyBufferFrameSize to be sure that your request was acceptable to the device (who has final veto on it, even if it is in the advertised range). You should also be verifying the buffer size in your IOProc via the mDataByteSize fields in the AudioBuffers you get passed and/or listening for changes to kAudioDevicePropertyBufferFrameSize.

On Oct 14, 2005, at 8:33 AM, Olivier Tristan wrote:

Hi Guys,

I'm currently trying to get the possible buffer size of a device.
So far I've found the kAudioDevicePropertyBufferSizeRange, but I was wondering the best way to retrieve it ?


kAudioDevicePropertyBufferSizeRange can returns very small values and I din't found where to get the steps between min and max of the range.


--

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: 
 >Possible Buffer Size of an audio device (From: Olivier Tristan <email@hidden>)

  • Prev by Date: Re: Sampling Rate Master
  • Next by Date: any free multichannel AU hosts?
  • Previous by thread: Possible Buffer Size of an audio device
  • Next by thread: any free multichannel AU hosts?
  • Index(es):
    • Date
    • Thread