![]() |
The Open Master Hearing Aid (openMHA)
openMHA
Open community platform for hearing aid algorithm research
|
Classes and functions for openMHA and JACK interaction. More...
Classes | |
| class | port_t |
| Class for one channel/port. More... | |
| class | client_t |
| Generic asynchronous JACK client. More... | |
| class | client_noncont_t |
| Generic client for synchronous playback and recording of waveform fragments. More... | |
| class | client_avg_t |
| Generic JACK client for averaging a system response across time. More... | |
Functions | |
| void | io (mha_wave_t *s_out, mha_wave_t *s_in, const std::string &name, const std::vector< std::string > &p_out, const std::vector< std::string > &p_in, float *srate=NULL, unsigned int *fragsize=NULL, bool use_jack_transport=false) |
| Functional form of generic client for synchronous playback and recording of waveform fragments. More... | |
| std::vector< unsigned int > | get_port_capture_latency (const std::vector< std::string > &ports) |
| Return the JACK port latency of ports. More... | |
| std::vector< int > | get_port_capture_latency_int (const std::vector< std::string > &ports) |
| Return the JACK port latency of ports. More... | |
| std::vector< unsigned int > | get_port_playback_latency (const std::vector< std::string > &ports) |
| Return the JACK port latency of ports. More... | |
| std::vector< int > | get_port_playback_latency_int (const std::vector< std::string > &ports) |
Classes and functions for openMHA and JACK interaction.
| void MHAJack::io | ( | mha_wave_t * | s_out, |
| mha_wave_t * | s_in, | ||
| const std::string & | name, | ||
| const std::vector< std::string > & | p_out, | ||
| const std::vector< std::string > & | p_in, | ||
| float * | srate = NULL, |
||
| unsigned int * | fragsize = NULL, |
||
| bool | use_jack_transport = false |
||
| ) |
Functional form of generic client for synchronous playback and recording of waveform fragments.
| std::vector< unsigned int > MHAJack::get_port_capture_latency | ( | const std::vector< std::string > & | ports | ) |
Return the JACK port latency of ports.
| ports | Ports to be tested |
| std::vector< int > MHAJack::get_port_capture_latency_int | ( | const std::vector< std::string > & | ports | ) |
Return the JACK port latency of ports.
| ports | Ports to be tested |
| std::vector< unsigned int > MHAJack::get_port_playback_latency | ( | const std::vector< std::string > & | ports | ) |
Return the JACK port latency of ports.
| ports | Ports to be tested |
| std::vector< int > MHAJack::get_port_playback_latency_int | ( | const std::vector< std::string > & | ports | ) |