OPAL  Version 3.10.4
OpalSilenceDetector::Params Struct Reference

#include <silencedetect.h>

Public Member Functions

 Params (Mode mode=AdaptiveSilenceDetection, unsigned threshold=0, unsigned signalDeadband=10, unsigned silenceDeadband=400, unsigned adaptivePeriod=600)

Data Fields

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

Constructor & Destructor Documentation

OpalSilenceDetector::Params::Params ( Mode  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

Field Documentation

milliseconds of silence needed

Threshold value if FixedSilenceDetection.

milliseconds of signal needed

Silence detection mode.


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