Generic decoder interface. More...
Inherits IDisposable.
Inherited by IDecoderDirect< B >, OpusCodec.Decoder< T >, and RawCodec.Decoder< T >.
Public Member Functions | |
void | Open (VoiceInfo info) |
Open (initialize) the decoder. More... | |
void | Input (ref FrameBuffer buf) |
Consumes the given encoded data. More... | |
Properties | |
string | Error [get] |
If not null, the object is in invalid state. More... | |
Generic decoder interface.
void Input | ( | ref FrameBuffer | buf | ) |
Consumes the given encoded data.
The callee can call buf.Retain() to prevent the caller from disposing the buffer. In this case, the callee should call buf.Release() when buffer is no longer needed.
Implemented in RawCodec.Decoder< T >, and OpusCodec.Decoder< T >.
void Open | ( | VoiceInfo | info | ) |
Open (initialize) the decoder.
info | Properties of the data stream to decode. |
Implemented in RawCodec.Decoder< T >, and OpusCodec.Decoder< T >.
|
get |
If not null, the object is in invalid state.