Get hardware buffer size
Get hardware buffer size
- Subject: Get hardware buffer size
- From: "Fee, Carson" <email@hidden>
- Date: Thu, 05 May 2005 17:11:02 -0700
Should be a quick one to answer,
My AU constructor creates an instance of my dsp engine.
cfx3::cfx3(AudioUnit component)
: AUEffectBase(component)
{
CreateElements();
Globals()->UseIndexedParameters(kNumberOfParameters);
SetParameter(kParam_One, kDefaultValue_ParamOne );
carsetest.DSpaceInit(512); //init the DSP engine
#if AU_DEBUG_DISPATCHER
mDebugDispatcher = new AUDebugDispatcher (this);
#endif
}
I am passing the value 512 to set up my input buffer, this works when I know
that the hardware input buffer is set to 512, but what would be a simple way
to grab the default audio device buffer size??
AudioDeviceGetProperty seems to be out of scope.
C.
_______________________________________________
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