Small changes for group setup..

This commit is contained in:
Jaroslav Kysela 1999-12-09 16:28:24 +00:00
parent 8bb1860bf2
commit 679338b28d

View file

@ -1524,10 +1524,10 @@ int gset(int argc, char *argv[])
} else if (!strncmp(argv[idx], "unmute", 6) || } else if (!strncmp(argv[idx], "unmute", 6) ||
!strncmp(argv[idx], "on", 2)) { !strncmp(argv[idx], "on", 2)) {
group.mute = 0; group.mute = 0;
} else if (!strncmp(argv[idx], "capture", 7) || } else if (!strncmp(argv[idx], "cap", 3) ||
!strncmp(argv[idx], "rec", 3)) { !strncmp(argv[idx], "rec", 3)) {
group.capture = group.channels; group.capture = group.channels;
} else if (!strncmp(argv[idx], "nocapture", 9) || } else if (!strncmp(argv[idx], "nocap", 5) ||
!strncmp(argv[idx], "norec", 5)) { !strncmp(argv[idx], "norec", 5)) {
group.capture = 0; group.capture = 0;
} else if (isdigit(argv[idx][0])) { } else if (isdigit(argv[idx][0])) {