]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: Add a hook capability to vmaster controls
authorTakashi Iwai <tiwai@suse.de>
Mon, 12 Mar 2012 11:18:37 +0000 (12:18 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 12 Mar 2012 12:58:54 +0000 (13:58 +0100)
commitc16a4d5a9604c521947ff9a7a22aab8cf0a930c6
treee11195d3f00e2a84c9bd322b0c5b7b334ea8cb36
parent248fe1f60fe6b864730194989808832d2fe2780b
ALSA: Add a hook capability to vmaster controls

This patch adds a hook to vmaster control to be called at each time
when the master value is changed.  It'd be handy for an additional
mute LED control following the Master switch, for example.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/control.h
sound/core/vmaster.c