to top
Android APIs
public final class

MediaRecorder.AudioEncoder

extends Object
java.lang.Object
   ↳ android.media.MediaRecorder.AudioEncoder

Class Overview

Defines the audio encoding. These constants are used with setAudioEncoder(int).

Summary

Constants
int AAC AAC Low Complexity (AAC-LC) audio codec
int AAC_ELD Enhanced Low Delay AAC (AAC-ELD) audio codec
int AMR_NB AMR (Narrowband) audio codec
int AMR_WB AMR (Wideband) audio codec
int DEFAULT
int HE_AAC High Efficiency AAC (HE-AAC) audio codec
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int AAC

Added in API level 10

AAC Low Complexity (AAC-LC) audio codec

Constant Value: 3 (0x00000003)

public static final int AAC_ELD

Added in API level 16

Enhanced Low Delay AAC (AAC-ELD) audio codec

Constant Value: 5 (0x00000005)

public static final int AMR_NB

Added in API level 1

AMR (Narrowband) audio codec

Constant Value: 1 (0x00000001)

public static final int AMR_WB

Added in API level 10

AMR (Wideband) audio codec

Constant Value: 2 (0x00000002)

public static final int DEFAULT

Added in API level 1

Constant Value: 0 (0x00000000)

public static final int HE_AAC

Added in API level 16

High Efficiency AAC (HE-AAC) audio codec

Constant Value: 4 (0x00000004)
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.