mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 00:25:43 +01:00
Small changes for group setup..
This commit is contained in:
parent
8bb1860bf2
commit
679338b28d
1 changed files with 2 additions and 2 deletions
|
@ -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])) {
|
||||||
|
|
Loading…
Reference in a new issue