Share via


AudioRecord.AudioFormat Property

Definition

Returns the configured audio data encoding.

public virtual Android.Media.Encoding AudioFormat { [Android.Runtime.Register("getAudioFormat", "()I", "GetGetAudioFormatHandler")] get; }
[<get: Android.Runtime.Register("getAudioFormat", "()I", "GetGetAudioFormatHandler")>]
member this.AudioFormat : Android.Media.Encoding

Property Value

Attributes

Remarks

Returns the configured audio data encoding. See AudioFormat#ENCODING_PCM_8BIT, AudioFormat#ENCODING_PCM_16BIT, and AudioFormat#ENCODING_PCM_FLOAT.

Java documentation for android.media.AudioRecord.getAudioFormat().

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