]> git.alsa-project.org Git - alsa-gobject.git/commit
ctl: fix misfunction of alsactl_get_card_id_list()
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 15 Mar 2022 23:30:07 +0000 (08:30 +0900)
committer坂本 貴史 <o-takashi@sakamocchi.jp>
Tue, 15 Mar 2022 23:55:34 +0000 (08:55 +0900)
commitba108bdf2e0633bd109bf6da802cc083d63412ba
treefd60ac58576ba227f20a663f9007ed82a175c38b
parent7e6b558274a414f42fe8bc9a697c7b7aaaf576c1
ctl: fix misfunction of alsactl_get_card_id_list()

Even if instantiation of libudev enumerator is successful,
alsactl_get_card_id_list() handles the success as failure. As a result,
the function does not work at all.

This commit fixes the bug.

Fixes: bfe4b0589fc6 ("ctl/hwdep/rawmidi: fix uninitialized warning")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
src/ctl/query.c