From 8823873f9b5ea4a451e1db94b117a96b7da38a11 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Thu, 25 Feb 2021 20:54:45 +0100 Subject: [PATCH] :art: Windows fix --- src/arg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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", -- 2.43.0