aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/aci.h
diff options
context:
space:
mode:
authorKrzysztof Helt <krzysztof.h1@wp.pl>2009-11-22 11:26:34 -0500
committerTakashi Iwai <tiwai@suse.de>2009-11-23 03:41:55 -0500
commit9dc9120c774e1d7e3d939542200bd44829c0059d (patch)
treebea8fba16b39633911bdd99606e318a24f9a0ef5 /include/sound/aci.h
parent9aeba6297151abcb1b34f3237e4c028aae500ce4 (diff)
ALSA: opti-miro: expose ACI mixer to outside drivers
The ACI mixer is used to control the radio FM module installed on the Miro PCM20 sound card. Expose ACI mixer outside the sound card driver. Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/aci.h')
-rw-r--r--include/sound/aci.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/sound/aci.h b/include/sound/aci.h
index bb796d06d0f2..ee639d355ef0 100644
--- a/include/sound/aci.h
+++ b/include/sound/aci.h
@@ -70,4 +70,21 @@
70#define ACI_SET_EQ6 0x45 70#define ACI_SET_EQ6 0x45
71#define ACI_SET_EQ7 0x46 /* ... to Treble */ 71#define ACI_SET_EQ7 0x46 /* ... to Treble */
72 72
73struct snd_miro_aci {
74 unsigned long aci_port;
75 int aci_vendor;
76 int aci_product;
77 int aci_version;
78 int aci_amp;
79 int aci_preamp;
80 int aci_solomode;
81
82 struct mutex aci_mutex;
83};
84
85int snd_aci_cmd(struct snd_miro_aci *aci, int write1, int write2, int write3);
86
87struct snd_miro_aci *snd_aci_get_aci(void);
88
73#endif /* _ACI_H_ */ 89#endif /* _ACI_H_ */
90