Photon C++ Client API
5.0.7.3
|
Interface for an encoder which consumes input data via explicit call. More...


Public Member Functions | |
| virtual void | input (const B &buf)=0 |
| Consumes the given raw data. More... | |
Public Member Functions inherited from IEncoder | |
| virtual Common::JString | getError (void) const =0 |
| If not null, the object is in invalid state. More... | |
| virtual void | setOutput (void *opaque, void(*output)(void *, const Buffer< nByte > &))=0 |
| Set callback encoder calls on each encoded data frame (if such output supported). More... | |
| virtual Buffer< nByte > | dequeueOutput ()=0 |
| Returns next encoded data frame (if such output supported). More... | |
Interface for an encoder which consumes input data via explicit call.
|
pure virtual |
Consumes the given raw data.
| buf | Array containing raw data (e.g. audio samples). |
Implemented in Encoder< T >.