Photon C++ Client API
5.0.7.3
|
Voice Activity Detector interface. More...
Public Member Functions | |
virtual bool | getOn (void) const =0 |
If true, voice detection enabled. More... | |
virtual void | setOn (bool)=0 |
virtual float | getThreshold (void) const =0 |
Voice detected as soon as signal level exceeds threshold. More... | |
virtual void | setThreshold (float)=0 |
virtual bool | getDetected (void) const =0 |
If true, voice detected. More... | |
virtual int | getDetectedTime (void) const =0 |
Last time when switched to detected state. More... | |
virtual void | setOnDetected (void(*pCallback)(void))=0 |
Called when switched to detected state. More... | |
virtual int | getActivityDelayMs (void) const =0 |
Keep detected state during this time after signal level dropped below threshold. More... | |
virtual void | setActivityDelayMs (int)=0 |
Voice Activity Detector interface.
|
pure virtual |
If true, voice detection enabled.
Implemented in VoiceDetector< T >, and VoiceDetectorDummy.
|
pure virtual |
Voice detected as soon as signal level exceeds threshold.
Implemented in VoiceDetector< T >, and VoiceDetectorDummy.
|
pure virtual |
If true, voice detected.
Implemented in VoiceDetector< T >, and VoiceDetectorDummy.
|
pure virtual |
Last time when switched to detected state.
Implemented in VoiceDetector< T >, and VoiceDetectorDummy.
|
pure virtual |
Called when switched to detected state.
Implemented in VoiceDetector< T >, and VoiceDetectorDummy.
|
pure virtual |
Keep detected state during this time after signal level dropped below threshold.
Implemented in VoiceDetector< T >, and VoiceDetectorDummy.