Android.Media.MediaPlayer.SetAuxEffectSendLevel Method
Sets the send level of the player to the attached auxiliary effect .

Syntax

[Android.Runtime.Register("setAuxEffectSendLevel", "(F)V", "GetSetAuxEffectSendLevel_FHandler")]
public virtual void SetAuxEffectSendLevel (float level)

See Also

MediaPlayer.AttachAuxEffect(int)

Parameters

level
send level scalar

Remarks

Sets the send level of the player to the attached auxiliary effect . The level value range is 0 to 1.0.

By default the send level is 0, so even if an effect is attached to the player this method must be called for the effect to be applied.

Note that the passed level value is a raw scalar. UI controls should be scaled logarithmically: the gain applied by audio framework ranges from -72dB to 0dB, so an appropriate conversion from linear UI input x to level is: x == 0 -> level = 0 0 level = 10^(72*(x-R)/20/R)

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 9