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

fshift runtime config class More...

Public Member Functions

 fshift_config_t (fshift_t const *const plug)
 C'tor of the fshift plugin runtime configuration class. More...
 
 ~fshift_config_t ()=default
 
mha_spec_tprocess (mha_spec_t *)
 

Private Attributes

const unsigned int kmin
 FFT bin corresponding to fmin. More...
 
const unsigned kmax
 FFT bin corresponding to fmax. More...
 
const int df
 Frequency shift expressed in FFT bins. More...
 
const mha_complex_t delta_phi
 Phase advance per fft frame. More...
 
mha_complex_t delta_phi_total
 Sum of all phase advances. More...
 

Detailed Description

fshift runtime config class

Constructor & Destructor Documentation

◆ fshift_config_t()

fshift::fshift_config_t::fshift_config_t ( fshift_t const *const  plug)
explicit

C'tor of the fshift plugin runtime configuration class.

Parameters
plugptr to the plugin interface class. Configuration information is given this way to keep the argument list small.

◆ ~fshift_config_t()

fshift::fshift_config_t::~fshift_config_t ( )
default

Member Function Documentation

◆ process()

mha_spec_t * fshift::fshift_config_t::process ( mha_spec_t in)

Member Data Documentation

◆ kmin

const unsigned int fshift::fshift_config_t::kmin
private

FFT bin corresponding to fmin.

◆ kmax

const unsigned fshift::fshift_config_t::kmax
private

FFT bin corresponding to fmax.

◆ df

const int fshift::fshift_config_t::df
private

Frequency shift expressed in FFT bins.

◆ delta_phi

const mha_complex_t fshift::fshift_config_t::delta_phi
private

Phase advance per fft frame.

◆ delta_phi_total

mha_complex_t fshift::fshift_config_t::delta_phi_total
private

Sum of all phase advances.


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