Android.Media.AudioTrack.AttachAuxEffect Method
Attaches an auxiliary effect to the audio track.

Syntax

[Android.Runtime.Register("attachAuxEffect", "(I)I", "GetAttachAuxEffect_IHandler")]
[return:Android.Runtime.GeneratedEnum]
public virtual TrackStatus AttachAuxEffect (int effectId)

See Also

AudioTrack.SetAuxEffectSendLevel(float)

Parameters

effectId
system wide unique id of the effect to attach

Returns

Documentation for this section has not yet been entered.

Remarks

Attaches an auxiliary effect to the audio track. A typical auxiliary effect is a reverberation effect which can be applied on any sound source that directs a certain amount of its energy to this effect. This amount is defined by setAuxEffectSendLevel(). .

After creating an auxiliary effect (e.g. Android.Media.Audiofx.EnvironmentalReverb), retrieve its ID with Android.Media.Audiofx.AudioEffect.Id and use it when calling this method to attach the audio track to the effect.

To detach the effect from the audio track, call this method with a null effect id.

[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