Current buffer size not in list of driver's supported buffer sizes
Current buffer size not in list of driver's supported buffer sizes
- Subject: Current buffer size not in list of driver's supported buffer sizes
- From: Jesper Papmehl-Dufay <email@hidden>
- Date: Fri, 17 Jul 2009 12:25:07 +0200
Hi!
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?
TIA
Jesper Papmehl-Dufay
Propelelrhead Software
_______________________________________________
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