|
|
|
|
@ -114,6 +114,7 @@ static void usage(char *s, struct options *options) |
|
|
|
|
" -p --default-pan Percentual default pan setting (default %d%%)\n" |
|
|
|
|
" -r --reverse Reverse left/right stereo channels\n" |
|
|
|
|
" -u --unsigned Set the mixer to use unsigned samples\n" |
|
|
|
|
" -x --classic Use classic mixers if applicable\n" |
|
|
|
|
"\nEnvironment options:\n" |
|
|
|
|
" -I --instrument-path Set pathname to external samples\n" |
|
|
|
|
"\nInformation options:\n" |
|
|
|
|
@ -131,6 +132,7 @@ static void usage(char *s, struct options *options) |
|
|
|
|
static const struct option lopt[] = { |
|
|
|
|
{ "amplify", 1, 0, 'a' }, |
|
|
|
|
{ "bits", 1, 0, 'b' }, |
|
|
|
|
{ "classic", 0, 0, 'x' }, |
|
|
|
|
{ "driver", 1, 0, 'd' }, |
|
|
|
|
{ "default-pan", 1, 0, 'p' }, |
|
|
|
|
{ "fix-sample-loops", 0, 0, OPT_FIXLOOP }, |
|
|
|
|
@ -177,7 +179,7 @@ void get_options(int argc, char **argv, struct options *options) |
|
|
|
|
int optidx = 0; |
|
|
|
|
int o; |
|
|
|
|
|
|
|
|
|
#define OPTIONS "a:b:CcD:d:e:Ff:hI:i:LlM:mNo:P:p:qRrS:s:T:t:uVvZz:" |
|
|
|
|
#define OPTIONS "a:b:CcD:d:e:Ff:hI:i:LlM:mNo:P:p:qRrS:s:T:t:uVvxZz:" |
|
|
|
|
while ((o = getopt_long(argc, argv, OPTIONS, lopt, &optidx)) != -1) { |
|
|
|
|
switch (o) { |
|
|
|
|
case 'a': |
|
|
|
|
@ -352,6 +354,9 @@ void get_options(int argc, char **argv, struct options *options) |
|
|
|
|
case 'v': |
|
|
|
|
options->verbose++; |
|
|
|
|
break; |
|
|
|
|
case 'x': |
|
|
|
|
options->classic = 1; |
|
|
|
|
break; |
|
|
|
|
case 'Z': |
|
|
|
|
options->explore = 1; |
|
|
|
|
break; |
|
|
|
|
|