Photon C++ Client API
5.0.7.3
|
Outgoing audio stream. More...
Public Member Functions | |
virtual AudioUtil::IVoiceDetector * | getVoiceDetector (void) const |
The VoiceDetector in use. More... | |
virtual AudioUtil::ILevelMeter * | getLevelMeter (void) const |
The LevelMeter utility in use. More... | |
virtual bool | getIsVoiceDetectorCalibrating (void) const |
True if the VoiceDetector is currently calibrating. More... | |
virtual void | voiceDetectorCalibrate (int durationMs) |
Trigger voice detector calibration process. More... | |
Public Member Functions inherited from LocalVoiceFramed< T > | |
int | getFrameSize (void) const |
void | addPostProcessor (Common::Helpers::SharedPointer< IProcessor< T > > processor) |
Adds the processor that is provided as a parameter after any built-in processors and everything added with addPreProcessor(). More... | |
void | addPreProcessor (Common::Helpers::SharedPointer< IProcessor< T > > processor) |
Adds the processor that is provided as a parameter before the built-in processors and everything added with addPostProcessor(). More... | |
void | clearProcessors (void) |
Clears all processors in pipeline including built-in resampling. User should add at least resampler processor after call. More... | |
bool | isPushDataAsyncReady (void) |
Wether this LocalVoiceFramed has capacity for more data buffers to be pushed asynchronously. More... | |
void | pushDataAsync (const Buffer< T > &buf) |
Asynchronously push data into this stream. More... | |
void | pushData (const Buffer< T > &buf) |
Synchronously push data into this stream. More... | |
Outgoing audio stream.
|
virtual |
The VoiceDetector in use.
Use it to enable or disable voice detector and set its parameters.
Implements ILocalVoiceAudio.
|
virtual |
The LevelMeter utility in use.
Implements ILocalVoiceAudio.
|
virtual |
True if the VoiceDetector is currently calibrating.
Implements ILocalVoiceAudio.
|
virtual |
Trigger voice detector calibration process.
While calibrating, keep silence. Voice detector sets threshold basing on measured background noise level.
durationMs | Duration of calibration in milliseconds. |
Implements ILocalVoiceAudio.