AudioRecord.AudioFormat Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.