]> git.alsa-project.org Git - alsa-utils.git/commit
alsactl: use card iterator functions for all card loops
authorJaroslav Kysela <perex@perex.cz>
Wed, 10 Mar 2021 19:06:24 +0000 (20:06 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 11 Mar 2021 08:23:33 +0000 (09:23 +0100)
commiteefc2c61cfda4325373e1fa2d3be1642c92eee83
tree79f0a9df723d0b0f2b4f2984f24b94ff94d9cdd3
parent9a2115b5ccb53b0224bdc3bc965c1e6de7e82a2d
alsactl: use card iterator functions for all card loops

Take the card iterator idea from the monitor code and
use it for all card loops. It reduces the code duplications
and makes things easy to review.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
alsactl/alsactl.h
alsactl/clean.c
alsactl/init_parse.c
alsactl/monitor.c
alsactl/state.c
alsactl/utils.c