Public Member Functions | Private Attributes | List of all members
VDADetection Class Reference

#include <linuxrec.h>

Public Member Functions

float energyPerSample (struct DataBuff pcm_data)
 
float levelEnergy (struct DataBuff pcm_data, const int call_count)
 

Private Attributes

const float adjustment_ = 0.05
 
float background_energy_ = 0.0
 
int call_count_ = 0
 
const float forgetfactor_ = 1
 
int is_speech_count_
 
float level_ = 0
 
float mean_energy_ = 0.0
 
float temp_energy_ = 0.0
 

Detailed Description

Definition at line 88 of file linuxrec.h.

Member Function Documentation

float VDADetection::energyPerSample ( struct DataBuff  pcm_data)

Definition at line 57 of file linuxrec.cpp.

float VDADetection::levelEnergy ( struct DataBuff  pcm_data,
const int  call_count 
)

Definition at line 36 of file linuxrec.cpp.

Member Data Documentation

const float VDADetection::adjustment_ = 0.05
private

Definition at line 101 of file linuxrec.h.

float VDADetection::background_energy_ = 0.0
private

Definition at line 96 of file linuxrec.h.

int VDADetection::call_count_ = 0
private

Definition at line 95 of file linuxrec.h.

const float VDADetection::forgetfactor_ = 1
private

Definition at line 100 of file linuxrec.h.

int VDADetection::is_speech_count_
private

Definition at line 102 of file linuxrec.h.

float VDADetection::level_ = 0
private

Definition at line 99 of file linuxrec.h.

float VDADetection::mean_energy_ = 0.0
private

Definition at line 98 of file linuxrec.h.

float VDADetection::temp_energy_ = 0.0
private

Definition at line 97 of file linuxrec.h.


The documentation for this class was generated from the following files:


xbot_talker
Author(s): wangxiaoyun
autogenerated on Sat Oct 10 2020 03:27:54