Re: Sorry for wrong subject - question again
Re: Sorry for wrong subject - question again
- Subject: Re: Sorry for wrong subject - question again
- From: Jeff Moore <email@hidden>
- Date: Fri, 18 Jan 2002 15:00:54 -0800
on 1/18/02 2:09 PM, Lubor Prikryl <email@hidden> wrote:
>
2}Using MAudio Audiophile 2496 cards, I had set buffer size to some
>
value, let's say 128. My application asks via
>
AudioDeviceGetProperty(device, 0, true, kAudioDevicePropertyBufferSize,
>
&count, &bufferSize); which reports 4096. Changing the value in control
>
panel of Audiophile has no influence for the value. I also tried to
>
debug Daisy example, it reports the 4096 just as my application and the
>
value cannot be changed.
The buffer size is something you control on a per process basis using
AudioDeviceSetProperty. You can also use kAudioDevicePropertyBufferFrameSize
if you prefer to deal with the buffer size in terms of sample frames. This
setting has absolutely no effect outside of your own process. It is also not
persistent, so you need to set it every time in your process.
I have no idea what MAudio control panel is controlling. Presumably it is
some parameter of their driver.
--
Jeff Moore
Core Audio
Apple