mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
Cleanups..
This commit is contained in:
parent
acc78fc8de
commit
278b684054
1 changed files with 3 additions and 2 deletions
|
|
@ -151,10 +151,10 @@ int main(int argc, char **argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (command == LIST_INPUT) {
|
if (command == LIST_INPUT) {
|
||||||
list_ports(fd, group, SND_SEQ_PORT_CAP_IN|SND_SEQ_PORT_CAP_SUBS_IN);
|
list_ports(fd, group, SND_SEQ_PORT_CAP_READ|SND_SEQ_PORT_CAP_SUBS_READ);
|
||||||
return 0;
|
return 0;
|
||||||
} else if (command == LIST_OUTPUT) {
|
} else if (command == LIST_OUTPUT) {
|
||||||
list_ports(fd, group, SND_SEQ_PORT_CAP_OUT|SND_SEQ_PORT_CAP_SUBS_OUT);
|
list_ports(fd, group, SND_SEQ_PORT_CAP_WRITE|SND_SEQ_PORT_CAP_SUBS_WRITE);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -180,6 +180,7 @@ int main(int argc, char **argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* set subscription */
|
/* set subscription */
|
||||||
|
memset(&subs, 0, sizeof(subs));
|
||||||
parse_address(&subs.sender, argv[optind]);
|
parse_address(&subs.sender, argv[optind]);
|
||||||
parse_address(&subs.dest, argv[optind + 1]);
|
parse_address(&subs.dest, argv[optind + 1]);
|
||||||
subs.sender.queue = subs.dest.queue = queue;
|
subs.sender.queue = subs.dest.queue = queue;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue