]> git.alsa-project.org Git - alsa-utils.git/commit
alsactl: fix the nested iteration
authorJaroslav Kysela <perex@perex.cz>
Tue, 1 Jun 2021 15:47:42 +0000 (17:47 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 1 Jun 2021 15:49:27 +0000 (17:49 +0200)
commit78212445de4c8e07873cbc7dff2abcacd031f151
tree2d6c488eadf7148fa27f2a066cca7967d3995fb6
parentef62ab34fc418cfcd4ff63ecbbe9b1c0e9e3381c
alsactl: fix the nested iteration

There may be nested iterations for hw: card names.
Handle this card name in snd_card_iterator_sinit().

BugLink: https://github.com/alsa-project/alsa-lib/issues/142
Fixes: eefc2c6 ("alsactl: use card iterator functions for all card loops")
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
alsactl/utils.c