OPAL  Version 3.14.3
OpalSilenceDetector::Params Struct Reference

#include <silencedetect.h>

Public Member Functions

 Params (Modes mode=AdaptiveSilenceDetection, unsigned threshold=0, unsigned signalDeadband=10, unsigned silenceDeadband=400, unsigned adaptivePeriod=600)
 
PString AsString () const
 
void FromString (const PString &str)
 

Data Fields

Modes m_mode
 
unsigned m_threshold
 Silence detection mode. More...
 
unsigned m_signalDeadband
 Threshold value if FixedSilenceDetection. More...
 
unsigned m_silenceDeadband
 milliseconds of signal needed More...
 
unsigned m_adaptivePeriod
 milliseconds of silence needed More...
 

Constructor & Destructor Documentation

OpalSilenceDetector::Params::Params ( Modes  mode = AdaptiveSilenceDetection,
unsigned  threshold = 0,
unsigned  signalDeadband = 10,
unsigned  silenceDeadband = 400,
unsigned  adaptivePeriod = 600 
)
inline
Parameters
modeNew silence detection mode
thresholdThreshold value if FixedSilenceDetection
signalDeadband10 milliseconds of signal needed
silenceDeadband400 milliseconds of silence needed
adaptivePeriod600 millisecond window for adaptive threshold

Member Function Documentation

PString OpalSilenceDetector::Params::AsString ( ) const
void OpalSilenceDetector::Params::FromString ( const PString &  str)

Field Documentation

unsigned OpalSilenceDetector::Params::m_adaptivePeriod

milliseconds of silence needed

Modes OpalSilenceDetector::Params::m_mode
unsigned OpalSilenceDetector::Params::m_signalDeadband

Threshold value if FixedSilenceDetection.

unsigned OpalSilenceDetector::Params::m_silenceDeadband

milliseconds of signal needed

unsigned OpalSilenceDetector::Params::m_threshold

Silence detection mode.


The documentation for this struct was generated from the following file: