Most visited

Recently visited

Added in API level 1

MediaRecorder.AudioEncoder

public final class MediaRecorder.AudioEncoder
extends Object

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


定义音频编码。 这些常量与setAudioEncoder(int)一起使用。

Summary

Constants

int AAC

AAC低复杂度(AAC-LC)音频编解码器

int AAC_ELD

增强型低延迟AAC(AAC-ELD)音频编解码器

int AMR_NB

AMR(窄带)音频编解码器

int AMR_WB

AMR(宽带)音频编解码器

int DEFAULT

int HE_AAC

高效率AAC(HE-AAC)音频编解码器

int VORBIS

Ogg Vorbis音频编解码器

Inherited methods

From class java.lang.Object

Constants

AAC

Added in API level 10
int AAC

AAC低复杂度(AAC-LC)音频编解码器

常量值:3(0x00000003)

AAC_ELD

Added in API level 16
int AAC_ELD

增强型低延迟AAC(AAC-ELD)音频编解码器

常量值:5(0x00000005)

AMR_NB

Added in API level 1
int AMR_NB

AMR(窄带)音频编解码器

常数值:1(0x00000001)

AMR_WB

Added in API level 10
int AMR_WB

AMR(宽带)音频编解码器

常量值:2(0x00000002)

DEFAULT

Added in API level 1
int DEFAULT

常量值:0(0x00000000)

HE_AAC

Added in API level 16
int HE_AAC

高效率AAC(HE-AAC)音频编解码器

常量值:4(0x00000004)

VORBIS

Added in API level 21
int VORBIS

Ogg Vorbis音频编解码器

常数值:6(0x00000006)

Hooray!