The Open Master Hearing Aid (openMHA)  openMHA
Open community platform for hearing aid algorithm research
MHAFilter::iir_filter_state_t Class Reference
Inheritance diagram for MHAFilter::iir_filter_state_t:
Inheritance graph

Public Member Functions

 iir_filter_state_t (unsigned int channels, std::vector< float > cf_A, std::vector< float > cf_B)
 
- Public Member Functions inherited from MHAFilter::filter_t
 filter_t (unsigned int ch, unsigned int lena, unsigned int lenb)
 Constructor. More...
 
 filter_t (unsigned int ch, const std::vector< mha_real_t > &vA, const std::vector< mha_real_t > &vB)
 Constructor with initialization of coefficients. More...
 
 filter_t (const MHAFilter::filter_t &src)
 Copy constructor. More...
 
filter_toperator= (const MHAFilter::filter_t &)=delete
 Assignment operator is not implemented. More...
 
 ~filter_t ()
 
void filter (mha_wave_t *out, const mha_wave_t *in)
 Filter all channels in a waveform structure. More...
 
void filter (mha_real_t *dest, const mha_real_t *src, unsigned int dframes, unsigned int frame_dist, unsigned int channel_dist, unsigned int channel_begin, unsigned int channel_end)
 Filter parts of a waveform structure. More...
 
mha_real_t filter (mha_real_t x, unsigned int ch)
 Filter one sample. More...
 
unsigned int get_len_A () const
 Return length of recursive coefficients. More...
 
unsigned int get_len_B () const
 Return length of non-recursive coefficients. More...
 

Additional Inherited Members

- Public Attributes inherited from MHAFilter::filter_t
double * A
 Pointer to recursive coefficients. More...
 
double * B
 Pointer to non-recursive coefficients. More...
 

Constructor & Destructor Documentation

◆ iir_filter_state_t()

MHAFilter::iir_filter_state_t::iir_filter_state_t ( unsigned int  channels,
std::vector< float >  cf_A,
std::vector< float >  cf_B 
)

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