public class Mp3Decoder extends Object implements AudioDecoder
| Constructor and Description |
|---|
Mp3Decoder() |
| Modifier and Type | Method and Description |
|---|---|
static void |
appendSamples(ByteBuffer buf,
short[] f,
int n) |
static void |
appendSamplesInterleave(ByteBuffer buf,
short[] f0,
short[] f1,
int n) |
AudioBuffer |
decodeFrame(ByteBuffer frame,
ByteBuffer dst) |
AudioCodecMeta |
getCodecMeta(ByteBuffer data) |
public static void appendSamples(ByteBuffer buf, short[] f, int n)
public static void appendSamplesInterleave(ByteBuffer buf, short[] f0, short[] f1, int n)
public AudioBuffer decodeFrame(ByteBuffer frame, ByteBuffer dst) throws IOException
decodeFrame in interface AudioDecoderIOExceptionpublic AudioCodecMeta getCodecMeta(ByteBuffer data) throws IOException
getCodecMeta in interface AudioDecoderIOExceptionCopyright © 2019. All rights reserved.