summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_patch.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-07-27 19:02:40 +0200
committerJaroslav Kysela <perex@perex.cz>2007-10-16 15:58:11 +0200
commit532d5381793f3c824f8ff68d7067fab8c76bb811 (patch)
tree41a27e08a905c28576167b711ccc2b06ea234a9f /sound/pci/hda/hda_patch.h
parent2807314d467e7dd929c42050031aabbd28e78f0b (diff)
downloadblackbird-op-linux-532d5381793f3c824f8ff68d7067fab8c76bb811.tar.gz
blackbird-op-linux-532d5381793f3c824f8ff68d7067fab8c76bb811.zip
[ALSA] hda-codec - Add a generic bind-control helper
Added callbacks for a generic bind-control of mixer elements. This can be used for creating a mixer element controlling multiple widgets at the same time. Two macros, HDA_BIND_VOL() and HDA_BIND_SW(), are introduced for creating bind-volume and bind-switch, respectively. It taks the mixer element name and struct hda_bind_ctls pointer, which contains the real control callbacks in ops field and long array for private_value of each bound widget. All widgets have to be the same type (i.e. the same amp capability). Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/hda/hda_patch.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud