Photon Voice v2.53

Public Member Functions | List of all members
IEncoderDirect< B > Interface Template Reference

Interface for an encoder which consumes input data via explicit call. More...

Inherits IEncoder.

Public Member Functions

void Input (B buf)
 Consumes the given raw data. More...
 
- Public Member Functions inherited from IEncoder
ArraySegment< byte > DequeueOutput (out FrameFlags flags)
 Returns next encoded data frame (if such output supported). More...
 
void EndOfStream ()
 Forces an encoder to flush and produce frame with EndOfStream flag (in output queue). More...
 
GetPlatformAPI< I > ()
 Returns an platform-specific interface. More...
 

Additional Inherited Members

- Properties inherited from IEncoder
string Error [get]
 If not null, the object is in invalid state. More...
 
Action< ArraySegment< byte >, FrameFlags > Output [set]
 Set callback encoder calls on each encoded data frame (if such output supported). More...
 

Detailed Description

Interface for an encoder which consumes input data via explicit call.

Member Function Documentation

◆ Input()

void Input ( buf)

Consumes the given raw data.

Parameters
bufArray containing raw data (e.g. audio samples).