]> git.alsa-project.org Git - alsa-utils.git/commit
aconnect: Show sequencer sound card numer/PID via aconnect
authorMartin Koegler <martin.koegler@chello.at>
Tue, 8 Mar 2016 22:06:47 +0000 (23:06 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 9 Mar 2016 08:15:43 +0000 (09:15 +0100)
commitccc108fb83bf31d6995c80ba9716ef3760f49637
treee0c10c1ab25214922e9cbd7b3f745bdca80403b5
parent380c9fa444e88f259c6cdc51b18365b80f73c17b
aconnect: Show sequencer sound card numer/PID via aconnect

rawmidi devices expose the card number via IOCTLs, which allows to
find the corresponding device in sysfs.

The sequencer provides no identifing data. Chromium works around this
issue by scanning rawmidi as well as sequencer devices and matching
them by using assumtions, how the kernel register sequencer devices.

This patch adds support for displaying the sound card number/PID to
aconnect.

Signed-off-by: Martin Koegler <martin.koegler@chello.at>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
configure.ac
seq/aconnect/aconnect.c