From: Jérémie Astor Date: Thu, 25 Feb 2021 19:54:45 +0000 (+0100) Subject: :art: Windows fix X-Git-Tag: nightly~923 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=8823873f9b5ea4a451e1db94b117a96b7da38a11;p=gwion.git :art: Windows fix --- diff --git a/src/arg.c b/src/arg.c index 0dba4872..bcae9ed7 100644 --- a/src/arg.c +++ b/src/arg.c @@ -15,7 +15,7 @@ enum { CONFIG, PLUGIN, MODULE, LOOP, PASS, STDIN, // sound options - DRIVER, SRATE, INPUT, OUTPUT, + DRIVER, SRATE, NINPUT, NOUTPUT, // pp options DEFINE, UNDEF, INCLUDE, NOPTIONS @@ -152,12 +152,12 @@ static void setup_options(cmdapp_t* app, cmdopt_t* opt) { cmdapp_set(app, 'i', "input", CMDOPT_TAKESARG, NULL, - "number of input channel", &opt[INPUT] + "number of input channel", &opt[NINPUT] ); cmdapp_set(app, 'o', "output", CMDOPT_TAKESARG, NULL, - "number of output channel", &opt[OUTPUT] + "number of output channel", &opt[NOUTPUT] ); cmdapp_set(app, 'D', "define",