Hi All,
I just tried to input a
very big value to SetNumSampleFramesPerBuffer(), but it seems that this method
will do range check itself.
While debugging the
clipOutputSamples() and checking the parameter firstSampleFrame of it, I think
the maximum of sample frames per buffer is 16384 (0x4000).
Is that expected
behavior? Thanks!
Best Regards,
David Tan,
Software Engineer,
Dextrys Co., Ltd.
From: coreaudio-api-bounces+david.tan=email@hidden
[mailto:coreaudio-api-bounces+david.tan=email@hidden] On Behalf Of David Tan
Sent: Friday, December 05, 2008
12:54 PM
To: CoreAudio-API
Mailing List
Subject: Is there limit of the
parameter of setNumSampleFramesPerBuffer?
Hi Apple,
I know we can call setNumSampleFramesPerBuffer()
anytime we want, except for wrapping it in a pair of beginConfigurationChange()
and completeConfigurationChange().
But I want to know the maximum and potential minimum
value of its parameter. For example, could I input such a big value as 5M to
it? Thanks a lot!
Best Regards,
David Tan,
Software Engineer,
Dextrys Co., Ltd.