The Open Master Hearing Aid (openMHA)
openMHA
Open community platform for hearing aid algorithm research
|
Base class for all acwriter_t's. More...
Public Member Functions | |
virtual void | process (comm_var_t &)=0 |
Place the data present in the algorithm communication variable into the fifo for output to disk. More... | |
virtual void | exit_request ()=0 |
Terminate output thread. Returns after exit thread has joined. More... | |
virtual const char * | get_varname () const =0 |
getter for ac variable name More... | |
virtual | ~acwriter_base_t ()=default |
Base class for all acwriter_t's.
This class decouples signal processing from writing to disk. There's one acwriter per AC variable to be written to disk. Each instance of acwriter spawns its own writer thread and has its own internal FIFO to safely move the samples of the AC variable out of the processing thread. All acwriters share an output file. It's not problematic when an acwriter has to wait for write access because the waiting does happen in its own thread, not in the audio thread.
|
virtualdefault |
|
pure virtual |
Place the data present in the algorithm communication variable into the fifo for output to disk.
Implemented in ac2xdf::acwriter_t< T >.
|
pure virtual |
Terminate output thread. Returns after exit thread has joined.
Implemented in ac2xdf::acwriter_t< T >.
|
pure virtual |
getter for ac variable name
Implemented in ac2xdf::acwriter_t< T >.