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

Macros

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

Functions

void make_friendly_number_by_limiting (mha_real_t &x)
 

Macro Definition Documentation

◆ PATCH_VAR

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

◆ INSERT_PATCH

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

Function Documentation

◆ make_friendly_number_by_limiting()

void make_friendly_number_by_limiting ( mha_real_t x)
inline