Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
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

AAC Low Complexity (AAC-LC) audio codec

Constant Value: 3 (0x00000003)

public static final int AAC_ELD

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

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

High Efficiency AAC (HE-AAC) audio codec

Constant Value: 4 (0x00000004)