]> git.alsa-project.org Git - alsa-utils.git/commit
alsactl: skip inactive controls
authorTakashi Iwai <tiwai@suse.de>
Mon, 17 Dec 2007 10:49:00 +0000 (11:49 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 17 Dec 2007 10:49:00 +0000 (11:49 +0100)
commitb0828653c9e67650e49a9ac9854c6614b58183ba
treeae6f307d920cf7970027ece377deb1b4f6904b0a
parentbeecc1419e32edc5bbd3dfdec4e3e0f9cc23ef4d
alsactl: skip inactive controls

When using alsactl to save or restore the card settings, it currently
skips over controls that don't have the appropriate read/write
permissions. It should also skip over inactive controls, otherwise it
will get an error when it tries to access that control, and will fail to
save the card state (or fully restore it.)

From: Dave Dillow <dave@thedillows.org>
alsactl/state.c