diff options
Diffstat (limited to 'src/engine/JackAudioDriver.cpp')
-rw-r--r-- | src/engine/JackAudioDriver.cpp | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/src/engine/JackAudioDriver.cpp b/src/engine/JackAudioDriver.cpp index bb330435..05b0c45b 100644 --- a/src/engine/JackAudioDriver.cpp +++ b/src/engine/JackAudioDriver.cpp @@ -205,7 +205,8 @@ JackAudioDriver::activate() } if (!_client) - attach("", "ingen", NULL); + attach(_engine.world()->conf->option("jack-server").get_string(), + _engine.world()->conf->option("jack-client").get_string(), NULL); jack_set_process_callback(_client, process_cb, this); @@ -435,19 +436,3 @@ JackAudioDriver::_buffer_size_cb(jack_nframes_t nframes) } // namespace Ingen - -extern "C" { - -Ingen::JackAudioDriver* -new_jack_audio_driver( - Ingen::Engine& engine, - const std::string server_name, - const std::string client_name, - void* jack_client) -{ - Ingen::JackAudioDriver* driver = new Ingen::JackAudioDriver(engine); - driver->attach(server_name, client_name, jack_client); - return driver; -} - -} |