]> 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)
commit15b274ed3ba6d25b9851ac6d5ddac8015c3209e2
treee11195d3f00e2a84c9bd322b0c5b7b334ea8cb36
parent8f96131c1f1dfe83a8dccf543cffe9fbc3b124e1
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