Re: Possible Buffer Size of an audio device
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