summaryrefslogtreecommitdiffstats
path: root/src/ingen
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-03-15 19:08:52 +0000
committerDavid Robillard <d@drobilla.net>2011-03-15 19:08:52 +0000
commit4770234867a084ae21534a5f237efaaeb832c68c (patch)
tree8a64d66cf19bea67015396e06fb010e2b81ade52 /src/ingen
parentf22e0bb610cea9e8471f7e5b0b704d8b282f239d (diff)
downloadingen-4770234867a084ae21534a5f237efaaeb832c68c.tar.gz
ingen-4770234867a084ae21534a5f237efaaeb832c68c.tar.bz2
ingen-4770234867a084ae21534a5f237efaaeb832c68c.zip
Activate Jack after loading GUI.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3090 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/ingen')
-rw-r--r--src/ingen/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ingen/main.cpp b/src/ingen/main.cpp
index 1407dfda..0f4339fd 100644
--- a/src/ingen/main.cpp
+++ b/src/ingen/main.cpp
@@ -153,8 +153,6 @@ main(int argc, char** argv)
if (world->local_engine()) {
ingen_try(world->load("ingen_jack"),
"Unable to load jack module");
-
- world->local_engine()->activate();
}
world->set_engine(engine_interface);
@@ -219,6 +217,7 @@ main(int argc, char** argv)
} else if (world->local_engine() && !conf.option("gui").get_bool()) {
signal(SIGINT, ingen_interrupt);
signal(SIGTERM, ingen_interrupt);
+ world->local_engine()->activate();
world->local_engine()->main(); // Block here
}