|
| io_jack_t (unsigned int fragsize, float samplerate, IOProcessEvent_t proc_event, void *proc_handle, IOStartedEvent_t start_event, void *start_handle, IOStoppedEvent_t stop_event, void *stop_handle) |
|
void | prepare (int, int) |
| Allocate buffers, activate JACK client and install internal ports. More...
|
|
void | release () |
|
| parser_t (const std::string &help_text="") |
| Construct detached node to be used in the configuration tree. More...
|
|
| ~parser_t () |
|
void | insert_item (const std::string &, base_t *) |
| Register a parser item into this sub-parser. More...
|
|
void | remove_item (const std::string &) |
| Remove an item by name. More...
|
|
void | force_remove_item (const std::string &) |
| Remove an item by name. More...
|
|
void | remove_item (const base_t *) |
| Remove an item by address. More...
|
|
| base_t (const std::string &) |
| Constructor for base class of all parser nodes. More...
|
|
| base_t (const base_t &) |
| Copy constructor for base_t. More...
|
|
base_t & | operator= (const base_t &)=default |
|
| base_t (base_t &&)=delete |
|
base_t & | operator= (base_t &&)=delete |
|
virtual | ~base_t () |
|
virtual std::string | parse (const std::string &) |
| Causes this node to process a command in the openMHA configuration language. More...
|
|
virtual void | parse (const char *, char *, unsigned int) |
| This function parses a command and writes the parsing result into a C character array. More...
|
|
virtual void | parse (const std::vector< std::string > &, std::vector< std::string > &) |
|
virtual std::string | query_perm (const std::string &) |
|
virtual std::string | query_range (const std::string &) |
|
std::string | query_version (const std::string &) |
|
std::string | query_id (const std::string &) |
|
std::string | query_subst (const std::string &) |
|
std::string | query_addsubst (const std::string &) |
|
std::string | query_help (const std::string &) |
|
std::string | query_cmds (const std::string &) |
|
void | set_node_id (const std::string &) |
| Set the identification string of this parser node. More...
|
|
void | set_help (const std::string &) |
| Set the help comment of a variable or parser. More...
|
|
void | add_parent_on_insert (parser_t *, std::string) |
|
void | rm_parent_on_remove (parser_t *) |
|
const std::string & | fullname () const |
| Return the full dot-separated path name of this parser node in the openMHA configuration tree. More...
|
|
| client_t (IOProcessEvent_t proc_event, void *proc_handle=NULL, IOStartedEvent_t start_event=NULL, void *start_handle=NULL, IOStoppedEvent_t stop_event=NULL, void *stop_handle=NULL, bool use_jack_transport=false) |
|
void | prepare (const std::string &client_name, const unsigned int &nchannels_in, const unsigned int &nchannels_out) |
| Allocate buffers, activate JACK client and install internal ports. More...
|
|
void | prepare (const std::string &server_name, const std::string &client_name, const unsigned int &nchannels_in, const unsigned int &nchannels_out) |
| Allocate buffers, ports, and activates JACK client. More...
|
|
void | release () |
| Remove JACK client and deallocate internal ports and buffers. More...
|
|
void | start (bool fail_on_async_jack_error=true) |
|
void | stop () |
|
void | connect_input (const std::vector< std::string > &) |
| Connect the input ports when connection variable is accessed. More...
|
|
void | connect_output (const std::vector< std::string > &) |
| Connect the output ports when connection variable is accessed. More...
|
|
unsigned int | get_fragsize () const |
|
float | get_srate () const |
|
unsigned long | get_xruns () |
|
unsigned long | get_xruns_reset () |
|
std::string | str_error (int err) |
|
void | get_ports (std::vector< std::string > &, unsigned long jack_flags) |
| Get a list of Jack ports. More...
|
|
std::vector< std::string > | get_my_input_ports () |
|
std::vector< std::string > | get_my_output_ports () |
|
void | set_input_portnames (const std::vector< std::string > &) |
|
void | set_output_portnames (const std::vector< std::string > &) |
|
float | get_cpu_load () |
|
void | set_use_jack_transport (bool ut) |
|
bool | is_prepared () const |
|
Main class for JACK IO.
This class registers a JACK client. JACK and framework states are managed by this class.