diff options
author | David Robillard <d@drobilla.net> | 2008-10-19 21:36:38 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-10-19 21:36:38 +0000 |
commit | 5353b8c88e3c82812e41e3411d1085e0dd481a1b (patch) | |
tree | ac2aed59660324784d2d81da2b3b93f0a0e72888 /src/ingen | |
parent | 7b2b8aaa0c810909922b662729774befc05e061e (diff) | |
download | ingen-5353b8c88e3c82812e41e3411d1085e0dd481a1b.tar.gz ingen-5353b8c88e3c82812e41e3411d1085e0dd481a1b.tar.bz2 ingen-5353b8c88e3c82812e41e3411d1085e0dd481a1b.zip |
Make ingen actually run again :)
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1688 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/ingen')
-rw-r--r-- | src/ingen/main.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/ingen/main.cpp b/src/ingen/main.cpp index e6f9a4ce..2f729ab9 100644 --- a/src/ingen/main.cpp +++ b/src/ingen/main.cpp @@ -192,13 +192,16 @@ main(int argc, char** argv) /* Activate the engine, if we have one */ if (engine) { Ingen::JackAudioDriver* (*new_driver)( - Ingen::Engine& engine, - std::string server_name, - std::string client_name, - jack_client_t* jack_client) = NULL; - if (engine_jack_module->get_symbol("new_jack_audio_driver", (void*&)new_driver)) + Ingen::Engine& engine, + const std::string server_name, + const std::string client_name, + void* jack_client) = NULL; + if (engine_jack_module->get_symbol("new_jack_audio_driver", (void*&)new_driver)) { engine->set_driver(DataType::AUDIO, SharedPtr<Driver>(new_driver( *engine, "default", args.jack_name_arg, NULL))); + } else { + cerr << Glib::Module::get_last_error() << endl; + } engine->activate(args.parallelism_arg); } |