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 AudioDecoder
IOException
public AudioCodecMeta getCodecMeta(ByteBuffer data) throws IOException
getCodecMeta
in interface AudioDecoder
IOException
Copyright © 2019. All rights reserved.