summaryrefslogtreecommitdiffstats
path: root/src/shared
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-19 20:17:25 +0000
committerDavid Robillard <d@drobilla.net>2011-04-19 20:17:25 +0000
commit6ec78b5a9eb499646d7fa6ccb306378426008e9d (patch)
tree7b40c90452f3b33ea86cd0a6cf224c7bd1e2a8c3 /src/shared
parent375e57574e08d746c6c12255836face2066ebf4c (diff)
downloadingen-6ec78b5a9eb499646d7fa6ccb306378426008e9d.tar.gz
ingen-6ec78b5a9eb499646d7fa6ccb306378426008e9d.tar.bz2
ingen-6ec78b5a9eb499646d7fa6ccb306378426008e9d.zip
Make event queue size a runtime parameter (--queue-size, -q).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3169 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/Configuration.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/Configuration.cpp b/src/shared/Configuration.cpp
index 3cf07a14..650a1d8b 100644
--- a/src/shared/Configuration.cpp
+++ b/src/shared/Configuration.cpp
@@ -53,6 +53,7 @@ Configuration::Configuration()
.add("load", 'l', "Load patch", Atom::STRING, Atom())
.add("parallelism", 'p', "Number of concurrent process threads", Atom::INT, 1)
.add("path", 'L', "Target path for loaded patch", Atom::STRING, Atom())
+ .add("queue-size", 'q', "Event queue size", Atom::INT, 1024)
.add("run", 'r', "Run script", Atom::STRING, Atom());
}