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)
commit2ad787e9aae8bfac14fa96748c0f2b034577be6a
treee11195d3f00e2a84c9bd322b0c5b7b334ea8cb36
parent18478e8b626edc2d181dcb1b93e1f99ad72095e9
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