Commit 241fd2a
committed
amidi: Ignore inactive MIDI ports as default at listing
When listing the devices, currently we show all MIDI ports including
inactive ones. But those inactive ports are rarely useful, and it'd
be more convenient to filter them out.
This patch introduces the filtering of inactive ports at listing
devices via amidi -l option. When user needs to scan all MIDI ports
including inactive ports, pass the new option -x in addition.
Signed-off-by: Takashi Iwai <[email protected]>1 parent 007a74a commit 241fd2a
2 files changed
+15
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
55 | 60 | | |
56 | 61 | | |
57 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| |||
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| 80 | + | |
79 | 81 | | |
80 | 82 | | |
81 | 83 | | |
| |||
151 | 153 | | |
152 | 154 | | |
153 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
154 | 159 | | |
155 | 160 | | |
156 | 161 | | |
| |||
471 | 476 | | |
472 | 477 | | |
473 | 478 | | |
474 | | - | |
| 479 | + | |
475 | 480 | | |
476 | 481 | | |
477 | 482 | | |
478 | 483 | | |
| 484 | + | |
479 | 485 | | |
480 | 486 | | |
481 | 487 | | |
| |||
508 | 514 | | |
509 | 515 | | |
510 | 516 | | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
511 | 520 | | |
512 | 521 | | |
513 | 522 | | |
| |||
0 commit comments