Re: multi input mixer volume control on iOS
Re: multi input mixer volume control on iOS
- Subject: Re: multi input mixer volume control on iOS
- From: Dean Reyburn <email@hidden>
- Date: Thu, 10 May 2012 12:08:23 -0400
Hi Chris, The code below is I what I (thought) was doing, but when I went back and checked it was a dumb mistake. I was setting the wrong mixer. duh on me.
Now it works.
Thanks for the help!
-Dean
PS Yes, amazing I'm not the only audio units programmer in West Michigan! On May 10, 2012, at 10:40 AM, Chris Adamson wrote: -(IBAction)handleVolumeSliderChange:(id)sender { NSLog (@"handleVolumeSliderChange"); AudioUnitParameterValue volume = self.volumeSlider.value; CheckError(AudioUnitSetParameter(self.mixerInput.mixerUnit, kMultiChannelMixerParam_Volume, kAudioUnitScope_Input, self.mixerInput.inputBus, volume, 0), "Couldn't set volume on mixer"); }
|| ||| || ||| || ||| || ||| || ||| || ||| || ||| || ||| || ||| || ||| Dean Reyburn, RPT Cedar Springs, Michigan, 49319 USA Sales & support: 1-888-SOFT-440 (or 616-340-7277) Fax: 616-696-8121
|
_______________________________________________
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