Photon Voice
v2.7
|
IDecoder Interface Reference
Generic decoder interface. More...
Inherits IDisposable.
Inherited by IDecoderQueuedOutputImageNative, and OpusCodec.Decoder< T >.
Public Member Functions | |
void | Open (VoiceInfo info) |
Open (initialize) the decoder. More... | |
void | Input (byte[] buf) |
Consumes the given encoded data. More... | |
Properties | |
string | Error [get] |
If not null, the object is in invalid state. More... | |
Detailed Description
Generic decoder interface.
Member Function Documentation
void Input | ( | byte[] | buf | ) |
Consumes the given encoded data.
Implemented in OpusCodec.Decoder< T >.
void Open | ( | VoiceInfo | info | ) |
Open (initialize) the decoder.
- Parameters
-
info Properties of the data stream to decode.
Implemented in OpusCodec.Decoder< T >.
Property Documentation
|
get |
If not null, the object is in invalid state.