public interface IAudioDecoder extends IInvocable
IAudioDecoder
- audio decoder.Modifier and Type | Interface and Description |
---|---|
static class |
IAudioDecoder.CallbackAdapter
CallbackAdapter - IAudioDecoder.ICallback adapter. |
static interface |
IAudioDecoder.ICallback
ICallback - audio decoder callback. |
IInvocable.Method
Modifier and Type | Method and Description |
---|---|
void |
decodeFrame(java.lang.Object tag,
ByteArray data,
IAudioDecoder.ICallback callback)
Decodes the frame.
|
int |
id()
Returns codec id (one of
AudioCodec constants). |
void |
release()
Release resources acquired by decoder.
|
invoke
int id()
AudioCodec
constants).void decodeFrame(java.lang.Object tag, ByteArray data, IAudioDecoder.ICallback callback)
tag
- frame tagdata
- encoded framecallback
- decoder callbackjava.lang.Exception
- if an exception occurredvoid release()