diff options
author | David Robillard <d@drobilla.net> | 2007-07-13 19:34:35 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-07-13 19:34:35 +0000 |
commit | db32e329f78970387b4ea7bcd4fe0bf86bee2f9f (patch) | |
tree | 0c133b11ed99287803cdd5388144e9dd8a3bd1af /src | |
parent | 41718517f25b622e447b10d7b33857315b019fce (diff) | |
download | ingen-db32e329f78970387b4ea7bcd4fe0bf86bee2f9f.tar.gz ingen-db32e329f78970387b4ea7bcd4fe0bf86bee2f9f.tar.bz2 ingen-db32e329f78970387b4ea7bcd4fe0bf86bee2f9f.zip |
Possible fix for race condition crash.
git-svn-id: http://svn.drobilla.net/lad/ingen@584 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/progs/ingen/main.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/progs/ingen/main.cpp b/src/progs/ingen/main.cpp index 46e0a1c3..9ca0b65d 100644 --- a/src/progs/ingen/main.cpp +++ b/src/progs/ingen/main.cpp @@ -134,9 +134,12 @@ main(int argc, char** argv) engine_interface = engine->new_queued_interface(); if (engine && engine_interface) { - engine->start_jack_driver(); + if (use_osc) engine->start_osc_driver(args.engine_port_arg); + + engine->start_jack_driver(); + engine->activate(); } |