Getting parameter info on StereoMixers
Getting parameter info on StereoMixers
- Subject: Getting parameter info on StereoMixers
- From: Stephen Shaw <email@hidden>
- Date: Thu, 05 Jan 2006 14:21:33 -0800
- Thread-topic: Getting parameter info on StereoMixers
I'm a little confused on the usage of kAudioUnitProperty_ParameterInfo, I'm
trying to get the min / max range of the volume & Pan of the mixer
I can get / set parameters using
AudioUnitGetParameter(mMixerUnit, kStereoMixerParam_Volume,
kAudioUnitScope_Input, theBusId,&vol);
But with kAudioUnitProperty_ParameterInfo, how do I specify the Parameter
I'm talking about?
AudioUnitParameterInfo paramInfo;
UInt32 size = sizeof (AudioUnitParameterInfo);
AudioUnitGetProperty (mMixerUnit, // AudioUnit
kAudioUnitProperty_ParameterInfo, // AudioUnitPropertyID
kAudioUnitScope_Input, // AudioUnitScope
theBusId, // AudioUnitElement
¶mInfo,
&size);
As always, any help is greatly appriciated :)
-Stephen
_______________________________________________
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