diff options
Diffstat (limited to 'src/JackDriver.cpp')
-rw-r--r-- | src/JackDriver.cpp | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/JackDriver.cpp b/src/JackDriver.cpp index 45e8b93..d0518ac 100644 --- a/src/JackDriver.cpp +++ b/src/JackDriver.cpp @@ -49,13 +49,11 @@ JackDriver::JackDriver(Patchage* app) _last_pos.valid = (jack_position_bits_t)0; } - JackDriver::~JackDriver() { detach(); } - /** Connect to Jack. */ void @@ -97,7 +95,6 @@ JackDriver::attach(bool launch_daemon) } } - void JackDriver::detach() { @@ -112,7 +109,6 @@ JackDriver::detach() _app->status_msg("[JACK] Detached"); } - /** Destroy all JACK (canvas) ports. */ void @@ -139,7 +135,6 @@ JackDriver::destroy_all() } } - boost::shared_ptr<PatchagePort> JackDriver::create_port_view(Patchage* patchage, const PortID& id) @@ -197,7 +192,6 @@ JackDriver::create_port_view(Patchage* patchage, return port; } - boost::shared_ptr<PatchagePort> JackDriver::create_port(boost::shared_ptr<PatchageModule> parent, jack_port_t* port, PortID id) { @@ -231,14 +225,12 @@ JackDriver::create_port(boost::shared_ptr<PatchageModule> parent, jack_port_t* p return ret; } - void JackDriver::shutdown() { signal_detached.emit(); } - /** Refresh all Jack audio ports/connections. * To be called from GTK thread only. */ @@ -373,7 +365,6 @@ JackDriver::refresh() free(ports); } - bool JackDriver::port_names(const PortID& id, string& module_name, @@ -398,7 +389,6 @@ JackDriver::port_names(const PortID& id, return true; } - /** Connects two Jack audio ports. * To be called from GTK thread only. * \return Whether connection succeeded. @@ -421,7 +411,6 @@ JackDriver::connect(boost::shared_ptr<PatchagePort> src_port, boost::shared_ptr< return (!result); } - /** Disconnects two Jack audio ports. * To be called from GTK thread only. * \return Whether disconnection succeeded. @@ -444,7 +433,6 @@ JackDriver::disconnect(boost::shared_ptr<PatchagePort> const src_port, boost::sh return (!result); } - void JackDriver::jack_client_registration_cb(const char* name, int registered, void* jack_driver) { @@ -461,7 +449,6 @@ JackDriver::jack_client_registration_cb(const char* name, int registered, void* } } - void JackDriver::jack_port_registration_cb(jack_port_id_t port_id, int registered, void* jack_driver) { @@ -478,7 +465,6 @@ JackDriver::jack_port_registration_cb(jack_port_id_t port_id, int registered, vo } } - void JackDriver::jack_port_connect_cb(jack_port_id_t src, jack_port_id_t dst, int connect, void* jack_driver) { @@ -495,7 +481,6 @@ JackDriver::jack_port_connect_cb(jack_port_id_t src, jack_port_id_t dst, int con } } - int JackDriver::jack_graph_order_cb(void* jack_driver) { @@ -508,7 +493,6 @@ JackDriver::jack_graph_order_cb(void* jack_driver) return 0; } - int JackDriver::jack_buffer_size_cb(jack_nframes_t buffer_size, void* jack_driver) { @@ -530,7 +514,6 @@ JackDriver::jack_buffer_size_cb(jack_nframes_t buffer_size, void* jack_driver) return 0; } - int JackDriver::jack_xrun_cb(void* jack_driver) { @@ -545,7 +528,6 @@ JackDriver::jack_xrun_cb(void* jack_driver) return 0; } - void JackDriver::jack_shutdown_cb(void* jack_driver) { @@ -558,14 +540,12 @@ JackDriver::jack_shutdown_cb(void* jack_driver) me->signal_detached.emit(); } - void JackDriver::error_cb(const char* msg) { Raul::error << "[JACK] " << msg << endl; } - jack_nframes_t JackDriver::buffer_size() { @@ -575,7 +555,6 @@ JackDriver::buffer_size() return jack_get_buffer_size(_client); } - void JackDriver::reset_xruns() { @@ -583,7 +562,6 @@ JackDriver::reset_xruns() _xrun_delay = 0; } - bool JackDriver::set_buffer_size(jack_nframes_t size) { @@ -604,7 +582,6 @@ JackDriver::set_buffer_size(jack_nframes_t size) } } - float JackDriver::get_max_dsp_load() { @@ -624,7 +601,6 @@ JackDriver::get_max_dsp_load() return max_load; } - void JackDriver::reset_max_dsp_load() { @@ -632,7 +608,6 @@ JackDriver::reset_max_dsp_load() jack_reset_max_delayed_usecs(_client); } - void JackDriver::process_events(Patchage* app) { @@ -643,4 +618,3 @@ JackDriver::process_events(Patchage* app) } } - |