The Open Master Hearing Aid (openMHA)  openMHA
Open community platform for hearing aid algorithm research
MHAPlugin_Resampling::resampling_t Class Reference

Public Member Functions

 resampling_t (unsigned int outer_fragsize, float outer_srate, unsigned int inner_fragsize, float inner_scrate, unsigned int nch_in, float filter_length_in, unsigned int nch_out, float filter_length_out, float nyquist_ratio, MHAParser::mhapluginloader_t &plug)
 
mha_wave_tprocess (mha_wave_t *)
 

Private Attributes

unsigned outer_fragsize
 
unsigned inner_fragsize
 
float outer_srate
 
float inner_srate
 
unsigned nchannels_in
 
unsigned nchannels_out
 
MHAFilter::blockprocessing_polyphase_resampling_t outer2inner_resampling
 
MHAFilter::blockprocessing_polyphase_resampling_t inner2outer_resampling
 
MHAParser::mhapluginloader_tplugloader
 
MHASignal::waveform_t inner_signal
 
MHASignal::waveform_t output_signal
 

Constructor & Destructor Documentation

◆ resampling_t()

MHAPlugin_Resampling::resampling_t::resampling_t ( unsigned int  outer_fragsize,
float  outer_srate,
unsigned int  inner_fragsize,
float  inner_scrate,
unsigned int  nch_in,
float  filter_length_in,
unsigned int  nch_out,
float  filter_length_out,
float  nyquist_ratio,
MHAParser::mhapluginloader_t plug 
)

Member Function Documentation

◆ process()

mha_wave_t * MHAPlugin_Resampling::resampling_t::process ( mha_wave_t s)

Member Data Documentation

◆ outer_fragsize

unsigned MHAPlugin_Resampling::resampling_t::outer_fragsize
private

◆ inner_fragsize

unsigned MHAPlugin_Resampling::resampling_t::inner_fragsize
private

◆ outer_srate

float MHAPlugin_Resampling::resampling_t::outer_srate
private

◆ inner_srate

float MHAPlugin_Resampling::resampling_t::inner_srate
private

◆ nchannels_in

unsigned MHAPlugin_Resampling::resampling_t::nchannels_in
private

◆ nchannels_out

unsigned MHAPlugin_Resampling::resampling_t::nchannels_out
private

◆ outer2inner_resampling

MHAFilter::blockprocessing_polyphase_resampling_t MHAPlugin_Resampling::resampling_t::outer2inner_resampling
private

◆ inner2outer_resampling

MHAFilter::blockprocessing_polyphase_resampling_t MHAPlugin_Resampling::resampling_t::inner2outer_resampling
private

◆ plugloader

MHAParser::mhapluginloader_t& MHAPlugin_Resampling::resampling_t::plugloader
private

◆ inner_signal

MHASignal::waveform_t MHAPlugin_Resampling::resampling_t::inner_signal
private

◆ output_signal

MHASignal::waveform_t MHAPlugin_Resampling::resampling_t::output_signal
private

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