diff options
author | David Robillard <d@drobilla.net> | 2011-11-25 23:48:14 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-11-25 23:48:14 +0000 |
commit | d660a764ac2237f5e2fe5190e90b31209b1d70da (patch) | |
tree | 85c5e1d96d422a990d81ff35a19b64276a1ef8b4 /src/JackDriver.cpp | |
parent | e0d452db27924fbef0d6d02000bb893c67879763 (diff) | |
download | patchage-d660a764ac2237f5e2fe5190e90b31209b1d70da.tar.gz patchage-d660a764ac2237f5e2fe5190e90b31209b1d70da.tar.bz2 patchage-d660a764ac2237f5e2fe5190e90b31209b1d70da.zip |
Remove Raul dependency.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3633 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/JackDriver.cpp')
-rw-r--r-- | src/JackDriver.cpp | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/src/JackDriver.cpp b/src/JackDriver.cpp index 8b3f56d..cadadb7 100644 --- a/src/JackDriver.cpp +++ b/src/JackDriver.cpp @@ -24,15 +24,13 @@ #include <jack/jack.h> #include <jack/statistics.h> -#include "raul/SharedPtr.hpp" -#include "raul/log.hpp" - -#include "patchage-config.h" #include "JackDriver.hpp" #include "Patchage.hpp" #include "PatchageCanvas.hpp" #include "PatchageEvent.hpp" #include "PatchageModule.hpp" +#include "Queue.hpp" +#include "patchage-config.h" using std::endl; using std::string; @@ -64,8 +62,6 @@ JackDriver::attach(bool launch_daemon) if (_client) return; - jack_set_error_function(error_cb); - jack_options_t options = (!launch_daemon) ? JackNoStartServer : JackNullOption; _client = jack_client_open("Patchage", options, NULL); if (_client == NULL) { @@ -74,7 +70,6 @@ JackDriver::attach(bool launch_daemon) } else { jack_client_t* const client = _client; - jack_set_error_function(error_cb); jack_on_shutdown(client, jack_shutdown_cb, this); jack_set_client_registration_callback(client, jack_client_registration_cb, this); jack_set_port_registration_callback(client, jack_port_registration_cb, this); @@ -464,12 +459,6 @@ JackDriver::jack_shutdown_cb(void* jack_driver) me->signal_detached.emit(); } -void -JackDriver::error_cb(const char* msg) -{ - Raul::error << "jack error: " << msg << endl; -} - jack_nframes_t JackDriver::buffer_size() { |