]> git.alsa-project.org Git - alsa-utils.git/commit
alsactl: add 'clean' command to remove the application controls
authorJaroslav Kysela <perex@perex.cz>
Fri, 26 Feb 2021 18:28:03 +0000 (19:28 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 4 Mar 2021 20:15:56 +0000 (21:15 +0100)
commit17b4129e6c89d1a96d4d86dabea38389927e3cf4
treee15616fbd46efc27531f159a435b3c48c85f0154
parentc1f8cc2f07d8e69db8f51d6af4563ed8a9ecf912
alsactl: add 'clean' command to remove the application controls

It is handy to remove all card controls created by applications.

This change allows to remove those controls for all cards, selected
card or selected card with a control id filter list like:

   alsactl clean 0 "name='PCM'" "name='Mic Phantom'"

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
alsactl/Makefile.am
alsactl/alsactl.1
alsactl/alsactl.c
alsactl/alsactl.h
alsactl/clean.c [new file with mode: 0644]
configure.ac