Photon C++ Client API
5.0.7.3
|
Audio Pusher interface. More...
Public Member Functions | |
virtual void | setCallback (void *pLocalVoice, void(*pCallback)(void *, const Buffer< T > &))=0 |
Set the callback function used for pushing data. More... | |
Public Member Functions inherited from IAudioDesc | |
virtual int | getSamplingRate (void) const =0 |
Sampling rate of the audio signal (in Hz). More... | |
virtual int | getChannels (void) const =0 |
Number of channels in the audio signal. More... | |
virtual Common::JString | getError (void) const =0 |
If not null, audio object is in invalid state. More... | |
Public Member Functions inherited from ToString | |
virtual | ~ToString (void) |
virtual JString | typeToString (void) const |
virtual JString & | toString (JString &retStr, bool withTypes=false) const =0 |
JString | toString (bool withTypes=false) const |
Audio Pusher interface.
an IAudioPusher will push its audio data whenever it is ready,
|
pure virtual |
Set the callback function used for pushing data.
pLocalVoice | Outgoing audio stream, for context. |
pCallback | Callback function to use. |
Implemented in ToneAudioPusher< T >.