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

Public Member Functions

 cfg_t (MHA_AC::algo_comm_t &iac, unsigned int imax_frames, std::vector< std::string > &var_names)
 
 ~cfg_t ()
 
void store_frame ()
 
void flush_data (const std::string &, unsigned int)
 

Private Attributes

MHA_AC::algo_comm_tac
 
unsigned int nvars
 
save_var_t ** varlist
 
unsigned int rec_frames
 
unsigned int max_frames
 

Constructor & Destructor Documentation

◆ cfg_t()

cfg_t::cfg_t ( MHA_AC::algo_comm_t iac,
unsigned int  imax_frames,
std::vector< std::string > &  var_names 
)

◆ ~cfg_t()

cfg_t::~cfg_t ( )

Member Function Documentation

◆ store_frame()

void cfg_t::store_frame ( )

This function is called in the processing thread.

◆ flush_data()

void cfg_t::flush_data ( const std::string &  filename,
unsigned int  fmt 
)

This function is called in the configuration thread.

Parameters
filenameOutput file name
fmtOutput file format

Member Data Documentation

◆ ac

MHA_AC::algo_comm_t& acsave::cfg_t::ac
private

◆ nvars

unsigned int acsave::cfg_t::nvars
private

◆ varlist

save_var_t** acsave::cfg_t::varlist
private

◆ rec_frames

unsigned int acsave::cfg_t::rec_frames
private

◆ max_frames

unsigned int acsave::cfg_t::max_frames
private

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