• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: also: unable to change volumes of mixer inputs? (iOS)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: also: unable to change volumes of mixer inputs? (iOS)


  • Subject: Re: also: unable to change volumes of mixer inputs? (iOS)
  • From: Jerry Beers <email@hidden>
  • Date: Mon, 31 Dec 2012 16:32:36 -0600

This is exactly what I do.  I have two inputs to a mixer and set the volume of each independently on the input scope.

On Dec 29, 2012, at 2:31 PM, Andy Davidson <email@hidden> wrote:

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

From: Bob Sabiston <email@hidden>
Date: Saturday, December 29, 2012 12:15 PM
To: Andrew Davidson <email@hidden>
Cc: "email@hidden Apple" <email@hidden>
Subject: Re: also: unable to change volumes of mixer inputs? (iOS)


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
References: 
 >Re: also: unable to change volumes of mixer inputs? (iOS) (From: Andy Davidson <email@hidden>)

  • Prev by Date: Media Kind: Podcast
  • Next by Date: Re: Coreaudio-api Digest, Vol 9, Issue 407
  • Previous by thread: Re: also: unable to change volumes of mixer inputs? (iOS)
  • Next by thread: AUSampler kAudioUnitProperty_ClassInfo error -43 on iOS
  • Index(es):
    • Date
    • Thread