Re: Current buffer size not in list of driver's supported buffer sizes
Re: Current buffer size not in list of driver's supported buffer sizes
- Subject: Re: Current buffer size not in list of driver's supported buffer sizes
- From: Jeff Moore <email@hidden>
- Date: Fri, 17 Jul 2009 09:13:25 -0700
It's a bug that you should file. But obviously, since you are seeing
it in the wild, it would probably be in your interest to also "just
handle it".
On Jul 17, 2009, at 3:25 AM, Jesper Papmehl-Dufay wrote:
I have found what I think is a bug in either CoreAudio or the driver
for the Motu UltraLight audio interface, but I want to make sure
that my expectations aren't wrong before reporting it.
If I run the UltraLight at 96 kHz it reports a range of valid buffer
sizes from 29 to 2304 frames (gotten using
kAudioDevicePropertyBufferFrameSizeRange).
I set it to 2304 frames, and then I change the sample rate to 44.1
kHz.
The driver still resports that the current buffer size
(kAudioDevicePropertyBufferFrameSize) is 2304 frames, but the range
of valid buffer sizes is now 14 to 1152 frames (again as reported by
kAudioDevicePropertyBufferFrameSizeRange).
In other words, the current buffer size is larger than the maximum
allowed buffer size.
Our code uses kAudioDevicePropertyBufferFrameSizeRange to validate
the data in our settings object, in this makes it think that the
settings are invalid.
Is this a bug, or should we just handle it?
--
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