Inherits IDecoder.
Public Member Functions | |
Decoder (Action< FrameOut< T >> output, ILogger logger) | |
void | Open (VoiceInfo i) |
Open (initialize) the decoder. More... | |
void | Dispose () |
void | Input (ref FrameBuffer buf) |
Consumes the given encoded data. More... | |
Protected Attributes | |
OpusDecoder< T > | decoder |
Properties | |
string | Error [get] |
Properties inherited from IDecoder | |
string | Error [get] |
If not null, the object is in invalid state. More... | |
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.
Implements IDecoder.