다음을 통해 공유


AutomaticGainControl.Create(Int32) Method

Definition

Creates an AutomaticGainControl and attaches it to the AudioRecord on the audio session specified.

[Android.Runtime.Register("create", "(I)Landroid/media/audiofx/AutomaticGainControl;", "")]
public static Android.Media.Audiofx.AutomaticGainControl? Create (int audioSession);
[<Android.Runtime.Register("create", "(I)Landroid/media/audiofx/AutomaticGainControl;", "")>]
static member Create : int -> Android.Media.Audiofx.AutomaticGainControl

Parameters

audioSession
Int32

system wide unique audio session identifier. The AutomaticGainControl will be applied to the AudioRecord with the same audio session.

Returns

AutomaticGainControl created or null if the device does not implement AGC.

Attributes

Remarks

Creates an AutomaticGainControl and attaches it to the AudioRecord on the audio session specified.

Java documentation for android.media.audiofx.AutomaticGainControl.create(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to