summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drumgizmo/drumgizmoc.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/drumgizmo/drumgizmoc.cc b/drumgizmo/drumgizmoc.cc
index 6a2458b..5172666 100644
--- a/drumgizmo/drumgizmoc.cc
+++ b/drumgizmo/drumgizmoc.cc
@@ -44,6 +44,7 @@
#include "event.h"
+#include "nolocale.h"
typedef struct parm_token
{
@@ -80,6 +81,7 @@ static std::string usage(std::string name)
output << "Usage: " << name << " [options] drumkitfile\n";
output << "Options:\n";
output << " -a, --async-load Load drumkit in the background and start the ";
+ output << " -b --bleed Set and enable master bleed";
output << "engine immediately.\n";
output << " -i, --inputengine dummy|test|jackmidi|midifile Use said event ";
output << "input engine.\n";
@@ -204,6 +206,12 @@ int main(int argc, char* argv[])
async = true;
});
+ opt.add("bleed", required_argument, 'B', [&]() {
+ float bleed = atof_nol(optarg);
+ settings.enable_bleed_control = true;
+ settings.master_bleed = bleed;
+ });
+
opt.add("inputengine", required_argument, 'i', [&]() {
std::string engine = optarg;
if(engine == "help")