public class MediaCodecAudioEncoder
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
static class |
MediaCodecAudioEncoder.AudioCodecType |
限定符和类型 | 字段和说明 |
---|---|
static int |
audioBitrate |
限定符和类型 | 方法和说明 |
---|---|
java.nio.ByteBuffer[] |
initEncode(MediaCodecAudioEncoder.AudioCodecType type,
int sampleRate,
int channel,
int bitsPerSample,
int bitRate) |
static boolean |
isAacHwSupported() |
boolean |
setPareams(int sampleRate,
int channel,
int bitsPerSample,
int bitRate) |
public static boolean isAacHwSupported()
public boolean setPareams(int sampleRate, int channel, int bitsPerSample, int bitRate)
public java.nio.ByteBuffer[] initEncode(MediaCodecAudioEncoder.AudioCodecType type, int sampleRate, int channel, int bitsPerSample, int bitRate)