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

Classes

class  dc_simple::dc_vars_t
 class for dc_simple plugin which registers variables to MHAParser. More...
 
class  dc_simple::dc_vars_validator_t
 Helper class to check sizes of configuration variable vectors. More...
 
class  dc_simple::level_smoother_t
 Class which computes smoothed input levels on individual bands, using an attack and release filter, which are a first order low pass filter and a maximum tracker filter, respectively. More...
 
class  dc_simple::dc_t
 Runtime config class for dc_simple plugin. More...
 
class  dc_simple::dc_t::line_t
 Helper class for usage in computing compression, expansion and limiting. More...
 
class  dc_simple::dc_if_t
 interface class for dc_simple More...
 

Namespaces

 dc_simple
 

Typedefs

typedef MHAPlugin::plugin_t< dc_t > dc_simple::DC
 Define alternate name for runtime_cfg_t. More...
 
typedef MHAPlugin::config_t< level_smoother_t > dc_simple::LEVEL
 Define alternate name for config_t. More...
 

Functions

void dc_simple::test_fail (const std::vector< float > &v, unsigned int s, const std::string &name)
 Checks size of vector. More...
 
std::vector< float > dc_simple::force_resize (const std::vector< float > &v, unsigned int s, const std::string &name)
 Creates a copy of vector v with s elements, provided that \v has either s elements or 1 elements. More...
 
mha_real_t dc_simple::not_zero (mha_real_t x, const std::string &comment)
 Helper function to throw an error if x is 0. More...