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

Public Member Functions

 analysepath_t (unsigned int nchannels_in, unsigned int inner_fragsize, int priority, MHAProc_wave2wave_t inner_proc_wave2wave, MHAProc_wave2spec_t inner_proc_wave2spec, void *ilibdata, MHA_AC::algo_comm_t &outer_ac, const MHA_AC::acspace2matrix_t &acspace_template, mha_domain_t inner_out_domain, unsigned int fifo_len_blocks)
 
virtual ~analysepath_t ()
 
void rt_process (mha_wave_t *)
 
virtual int svc ()
 

Private Attributes

MHAProc_wave2wave_t inner_process_wave2wave
 
MHAProc_wave2spec_t inner_process_wave2spec
 
MHASignal::waveform_t inner_input
 
void * libdata
 
mha_fifo_lf_t< mha_real_twave_fifo
 
mha_fifo_lf_t< MHA_AC::acspace2matrix_tac_fifo
 
MHA_AC::acspace2matrix_t inner_ac_copy
 
MHA_AC::acspace2matrix_t outer_ac_copy
 
MHA_AC::algo_comm_touter_ac
 
mha_domain_t inner_out_domain
 
MHA_Error inner_error
 
bool has_inner_error
 
bool flag_terminate_inner_thread
 
int input_to_process
 
pthread_mutex_t ProcessMutex
 
pthread_attr_t attr
 
struct sched_param priority
 
int scheduler
 
pthread_t thread
 
pthread_cond_t cond_to_process
 

Constructor & Destructor Documentation

◆ analysepath_t()

analysepath_t::analysepath_t ( unsigned int  nchannels_in,
unsigned int  inner_fragsize,
int  priority,
MHAProc_wave2wave_t  inner_proc_wave2wave,
MHAProc_wave2spec_t  inner_proc_wave2spec,
void *  ilibdata,
MHA_AC::algo_comm_t outer_ac,
const MHA_AC::acspace2matrix_t acspace_template,
mha_domain_t  inner_out_domain,
unsigned int  fifo_len_blocks 
)

◆ ~analysepath_t()

analysepath_t::~analysepath_t ( )
virtual

Member Function Documentation

◆ rt_process()

void analysepath_t::rt_process ( mha_wave_t outer_input)

◆ svc()

int analysepath_t::svc ( )
virtual

Member Data Documentation

◆ inner_process_wave2wave

MHAProc_wave2wave_t analysepath_t::inner_process_wave2wave
private

◆ inner_process_wave2spec

MHAProc_wave2spec_t analysepath_t::inner_process_wave2spec
private

◆ inner_input

MHASignal::waveform_t analysepath_t::inner_input
private

◆ libdata

void* analysepath_t::libdata
private

◆ wave_fifo

mha_fifo_lf_t<mha_real_t> analysepath_t::wave_fifo
private

◆ ac_fifo

mha_fifo_lf_t<MHA_AC::acspace2matrix_t> analysepath_t::ac_fifo
private

◆ inner_ac_copy

MHA_AC::acspace2matrix_t analysepath_t::inner_ac_copy
private

◆ outer_ac_copy

MHA_AC::acspace2matrix_t analysepath_t::outer_ac_copy
private

◆ outer_ac

MHA_AC::algo_comm_t& analysepath_t::outer_ac
private

◆ inner_out_domain

mha_domain_t analysepath_t::inner_out_domain
private

◆ inner_error

MHA_Error analysepath_t::inner_error
private

◆ has_inner_error

bool analysepath_t::has_inner_error
private

◆ flag_terminate_inner_thread

bool analysepath_t::flag_terminate_inner_thread
private

◆ input_to_process

int analysepath_t::input_to_process
private

◆ ProcessMutex

pthread_mutex_t analysepath_t::ProcessMutex
private

◆ attr

pthread_attr_t analysepath_t::attr
private

◆ priority

struct sched_param analysepath_t::priority
private

◆ scheduler

int analysepath_t::scheduler
private

◆ thread

pthread_t analysepath_t::thread
private

◆ cond_to_process

pthread_cond_t analysepath_t::cond_to_process
private

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