You just need to set those properties on the input scope of the desired
channel(element).

float pan = 0;  //  -1  -> 1
AudioUnitSetParameter (MixerUnit, kMultiChannelMixerParam_Pan,
kAudioUnitScope_Input, channel, pan, 0);

On Sat, Nov 1, 2014 at 4:54 AM, Clement Prem <[email protected]>
wrote:

> I created an AUGraph to play music from iTunes library. I added mixer unit
> and effect unit to the AUGraph in the following order
>
> FilePlayerUnit->MixerUnit->EffectUnit->OutputUnit
>
> Now I am trying to change the volume balance between left and right
> channel.
>
> How can I increase, decrease or mute volume in a single channel. Is it
> possible to do this with FilePlayer Unit that plays music files from local
> storage?
>
> Regards
> Clement
>
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Coreaudio-api mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/coreaudio-api/oneill707%40gmail.com
>
> This email sent to [email protected]
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to