Android.Media.MediaFormat.CreateAudioFormat Method
Creates a minimal audio format.

Syntax

[Android.Runtime.Register("createAudioFormat", "(Ljava/lang/String;II)Landroid/media/MediaFormat;", "")]
public static MediaFormat CreateAudioFormat (string mime, int sampleRate, int channelCount)

Parameters

mime
The mime type of the content.
sampleRate
The sampling rate of the content.
channelCount
The number of audio channels in the content.

Returns

Documentation for this section has not yet been entered.

Remarks

Creates a minimal audio format.

[Android Documentation]

Requirements

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