Photon Voice: OpusCodec.Decoder< T > Class Template Reference

Photon Voice

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
 

Properties

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.

Parameters
infoProperties of the data stream to decode.

Implements IDecoder.

Online Documentation  -  Dashboard  -  Support Forum Exit Games GmbH