Thanks for posting this. On the iPhone, I used the analogous kAudioUnitSubType_MultiChannelMixer and the kMultiChannelMixerParam_Volume parameter to set input volumes and the output volume of a mixer unit in a graph.
Similar subject: kHALOutputParam_Volume exists on iPhone SDK. Anybody know if this can be called on the RemoteIO unit? Doing the obvious:
AudioUnitSetParameter(remoteIOUnit, kHALOutputParam_Volume, kAudioUnitScope_Output, 0, volume, 0);
Does nothing for me.
Thanks in advance.
--Chris
On March 23, 2009 1:11:28 PM EDT, Jens Alfke wrote: On Mar 23, 2009, at 7:35 AM, Russ Fellman wrote: Im looking into controlling the volume of each subgraph, or file node of a mixer setup. Just set the volume parameter of each input to the mixer:
AudioUnitSetParameter(mixerUnit, kStereoMixerParam_Volume, kAudioUnitScope_Input, inputBusNumber, vol, 0) —Jens
|