Re: AudioUnit Get/Set Parameter
Re: AudioUnit Get/Set Parameter
- Subject: Re: AudioUnit Get/Set Parameter
- From: Bill Stewart <email@hidden>
- Date: Thu, 06 Dec 2001 19:39:33 -0800
on 6/12/01 2:31 PM, David Shaffer wrote:
>
What is the AudioUnitElement used for?
>
>
The AudioUnitParameterID is one of the parameters from a list.. So, it
>
is the parameter (such as volume/pan/etc..) But, I am not sure what the
>
element is in this case.
>
>
AudioUnitGetParameter(
>
AudioUnit ci,
>
AudioUnitParameterID inID,
>
AudioUnitScope inScope,
>
AudioUnitElement inElement,
>
Float32 * outValue)
>
FIVEWORDINLINE(0x2F3C, 0x0010, 0x0006, 0x7000, 0xA82A);
In the case of a mixer
ci==myMixerUnit
paramID for Pan
inScope == Input Scope
inElement == bus number -> ie. Which bus are you trying to get the parameter
value for...
outValue == theValue of the parameter specified by mix-bus number (elementID
and input-bus (scope)
Bill
>
_______________________________________________
>
coreaudio-api mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
mailto:email@hidden
tel: +1 408 974 4056
__________________________________________________________________________
Cat: "Leave me alone, I'm trying to nap... Ah, What's that clicking noise?"
__________________________________________________________________________