Re: also: unable to change volumes of mixer inputs? (iOS)
Re: also: unable to change volumes of mixer inputs? (iOS)
- Subject: Re: also: unable to change volumes of mixer inputs? (iOS)
- From: Andy Davidson <email@hidden>
- Date: Sat, 29 Dec 2012 12:31:53 -0800
- Thread-topic: also: unable to change volumes of mixer inputs? (iOS)
Hi Bob
You are correct my code controls the vol of the output of the mixer. I am very interested in your question. At some point in time I need to figure out how to split stereo into separate channels and want to control the vol of each channel separately. I have not had time to write the test code for this feature
I found your original post
OSStatus result = AudioUnitSetParameter (mixerUnit, kMultiChannelMixerParam_Volume, kAudioUnitScope_Input, inputBus, newGain, 0 ); Is the scope correct? You use input, my example uses output?
Andy
I call the following to change the vol. This maybe called because either the user pressed the hardware vol button or moved a UISlider
status = AudioUnitSetParameter(multiChannelMixerAU, kMultiChannelMixerParam_Volume, kAudioUnitScope_Output, 0, value, 0);
Yes but is that not the control for the *entire* volume? I am trying to control the volume of the inputs -- like, I have one laser sound that I only want to play at half volume, another time I might want one character's noise to increase while others don't … that sort of thing.
Bob
|
_______________________________________________
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