![]() |
Photon Voice
v2.7
|
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... | |
![]() | |
ArraySegment< byte > | DequeueOutput () |
Returns next encoded data frame (if such output supported). More... | |
Additional Inherited Members | |
![]() | |
string | Error [get] |
If not null, the object is in invalid state. More... | |
Action< ArraySegment< byte > > | Output [get, 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
void Input | ( | B | buf | ) |
Consumes the given raw data.
- Parameters
-
buf Array containing raw data (e.g. audio samples).