Photon C++ Client API  5.0.7.3
Public Member Functions | List of all members
VoiceDetectorDummy Class Reference

Dummy VoiceDetector that doesn't actually do anything. More...

Inheritance diagram for VoiceDetectorDummy:
Inheritance graph
[legend]
Collaboration diagram for VoiceDetectorDummy:
Collaboration graph
[legend]

Public Member Functions

virtual bool getOn (void) const
 If true, voice detection enabled. More...
 
virtual void setOn (bool)
 
virtual float getThreshold (void) const
 Voice detected as soon as signal level exceeds threshold. More...
 
virtual void setThreshold (float)
 
virtual bool getDetected (void) const
 If true, voice detected. More...
 
virtual int getDetectedTime (void) const
 Last time when switched to detected state. More...
 
virtual void setOnDetected (void(*)(void))
 Called when switched to detected state. More...
 
virtual int getActivityDelayMs (void) const
 Keep detected state during this time after signal level dropped below threshold. More...
 
virtual void setActivityDelayMs (int)
 

Detailed Description

Dummy VoiceDetector that doesn't actually do anything.

Member Function Documentation

◆ getOn()

virtual bool getOn ( void  ) const
virtual

If true, voice detection enabled.

Implements IVoiceDetector.

◆ getThreshold()

virtual float getThreshold ( void  ) const
virtual

Voice detected as soon as signal level exceeds threshold.

Implements IVoiceDetector.

◆ getDetected()

virtual bool getDetected ( void  ) const
virtual

If true, voice detected.

Implements IVoiceDetector.

◆ getDetectedTime()

virtual int getDetectedTime ( void  ) const
virtual

Last time when switched to detected state.

Implements IVoiceDetector.

◆ setOnDetected()

virtual void setOnDetected ( void(*)(void)  )
virtual

Called when switched to detected state.

Implements IVoiceDetector.

◆ getActivityDelayMs()

virtual int getActivityDelayMs ( void  ) const
virtual

Keep detected state during this time after signal level dropped below threshold.

Implements IVoiceDetector.