Photon Voice  v2.11
English | 日本語 | 한국
Public Member Functions | Protected Member Functions | Protected Attributes | Properties | List of all members
OpusCodec.Decoder< T > Class Template Referenceabstract

Inherits IDecoder.

Public Member Functions

 Decoder (Action< T[]> output, ILogger logger)
void Open (VoiceInfo i)
 Open (initialize) the decoder. More...
void Dispose ()
void Input (byte[] buf)
 Consumes the given encoded data. More...

Protected Member Functions

abstract T[] decodeTyped (byte[] buf)

Protected Attributes

OpusDecoder decoder


string Error [get]
- Properties inherited from IDecoder
string Error [get]
 If not null, the object is in invalid state. More...

Member Function Documentation

void Input ( byte[]  buf)

Consumes the given encoded data.

Implements IDecoder.

void Open ( VoiceInfo  info)

Open (initialize) the decoder.

infoProperties of the data stream to decode.

Implements IDecoder.