path: root/src/shared/Configuration.cpp
diff options
authorDavid Robillard <>2012-03-19 20:16:46 +0000
committerDavid Robillard <>2012-03-19 20:16:46 +0000
commit254b434f0a79fea54bd963e8ff2e845a5b0cd3a6 (patch)
treeddf849fc5b64d1096846c28c1f1a742f54c3adff /src/shared/Configuration.cpp
parentbc3afd8380d59c750c8f8e9bf1ed1b8d4a6826e9 (diff)
Partially functioning communication between Ingen LV2 plugin and UI.
git-svn-id: a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/shared/Configuration.cpp')
1 files changed, 17 insertions, 17 deletions
diff --git a/src/shared/Configuration.cpp b/src/shared/Configuration.cpp
index 300c7f1d..df539115 100644
--- a/src/shared/Configuration.cpp
+++ b/src/shared/Configuration.cpp
@@ -22,8 +22,8 @@ using namespace Raul;
namespace Ingen {
namespace Shared {
-Configuration::Configuration(Raul::Forge* forge)
- : Raul::Configuration(forge,
+ : Raul::Configuration(
"A realtime modular audio processor.",
"Ingen is a flexible modular system that be used in various ways.\n"
"The engine can run as a stand-alone server controlled via a network protocol\n"
@@ -37,21 +37,21 @@ Configuration::Configuration(Raul::Forge* forge)
" ingen -eg patch.ttl # Run an engine and a GUI and load a patch file\n"
" ingen -eg patch.ingen # Run an engine and a GUI and load a patch bundle")
- add("client-port", 'C', "Client OSC port", Atom::INT, forge->make());
- add("connect", 'c', "Connect to engine URI", Atom::STRING, forge->make("osc.udp://localhost:16180"));
- add("engine", 'e', "Run (JACK) engine", Atom::BOOL, forge->make(false));
- add("engine-port", 'E', "Engine listen port", Atom::INT, forge->make(16180));
- add("gui", 'g', "Launch the GTK graphical interface", Atom::BOOL, forge->make(false));
- add("help", 'h', "Print this help message", Atom::BOOL, forge->make(false));
- add("jack-client", 'n', "JACK client name", Atom::STRING, forge->make("ingen"));
- add("jack-server", 's', "JACK server name", Atom::STRING, forge->make(""));
- add("uuid", 'u', "JACK session UUID", Atom::STRING, forge->make(""));
- add("load", 'l', "Load patch", Atom::STRING, forge->make());
- add("packet-size", 'k', "Maximum UDP packet size", Atom::INT, forge->make(4096));
- add("parallelism", 'p', "Number of concurrent process threads", Atom::INT, forge->make(1));
- add("path", 'L', "Target path for loaded patch", Atom::STRING, forge->make());
- add("queue-size", 'q', "Event queue size", Atom::INT, forge->make(4096));
- add("run", 'r', "Run script", Atom::STRING, forge->make());
+ add("client-port", 'C', "Client OSC port", INT, Value());
+ add("connect", 'c', "Connect to engine URI", STRING, Value("osc.udp://localhost:16180"));
+ add("engine", 'e', "Run (JACK) engine", BOOL, Value(false));
+ add("engine-port", 'E', "Engine listen port", INT, Value(16180));
+ add("gui", 'g', "Launch the GTK graphical interface", BOOL, Value(false));
+ add("help", 'h', "Print this help message", BOOL, Value(false));
+ add("jack-client", 'n', "JACK client name", STRING, Value("ingen"));
+ add("jack-server", 's', "JACK server name", STRING, Value(""));
+ add("uuid", 'u', "JACK session UUID", STRING, Value());
+ add("load", 'l', "Load patch", STRING, Value());
+ add("packet-size", 'k', "Maximum UDP packet size", INT, Value(4096));
+ add("parallelism", 'p', "Number of concurrent process threads", INT, Value(1));
+ add("path", 'L', "Target path for loaded patch", STRING, Value());
+ add("queue-size", 'q', "Event queue size", INT, Value(4096));
+ add("run", 'r', "Run script", STRING, Value());
} // namespace Shared