]> git.alsa-project.org Git - alsa-utils.git/commit
amidi: Ignore inactive MIDI ports as default at listing master
authorTakashi Iwai <tiwai@suse.de>
Tue, 28 Oct 2025 12:29:59 +0000 (13:29 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 13 Nov 2025 17:12:16 +0000 (18:12 +0100)
commit241fd2aecc702360682734c31055a18bc4ad63da
tree1b7de3a309f3b9eb132c2d57dc836cdc28d103bc
parent007a74a867ab131cf8835783d78effda27239612
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 <tiwai@suse.de>
amidi/amidi.1
amidi/amidi.c