The Open Master Hearing Aid (openMHA)  openMHA
Open community platform for hearing aid algorithm research
adaptive_feedback_canceller.cpp File Reference

Macros

#define PATCH_VAR(var)   patchbay.connect(&var.valuechanged, this, &adaptive_feedback_canceller::update_cfg)
 
#define INSERT_PATCH(var)   insert_member(var); PATCH_VAR(var)
 

Functions

std::vector< int > calcDelayValues (const std::vector< int > &raw_latency, const unsigned int correction)
 
void make_friendly_number_by_limiting (double &x)
 

Macro Definition Documentation

◆ PATCH_VAR

#define PATCH_VAR (   var)    patchbay.connect(&var.valuechanged, this, &adaptive_feedback_canceller::update_cfg)

◆ INSERT_PATCH

#define INSERT_PATCH (   var)    insert_member(var); PATCH_VAR(var)

Function Documentation

◆ calcDelayValues()

std::vector<int> calcDelayValues ( const std::vector< int > &  raw_latency,
const unsigned int  correction 
)

◆ make_friendly_number_by_limiting()

void make_friendly_number_by_limiting ( double &  x)
inline