aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/emu10k1.h
diff options
context:
space:
mode:
authorJames Courtier-Dutton <James@superbug.co.uk>2005-03-26 13:35:29 -0500
committerJaroslav Kysela <perex@suse.cz>2005-05-29 03:00:24 -0400
commit6e4abc40fc125b1dcc2792eacac17606a4d86043 (patch)
tree4b06290dd6a43d809b8762752166ea9b854b6f5f /include/sound/emu10k1.h
parentd05b2817d859a2a2f2c3d5c056b688559fdbcc2b (diff)
[ALSA] Adds Capture to P16V chip.
EMU10K1/EMU10K2 driver One can select which capture source, but one cannot yet set volumes. Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
Diffstat (limited to 'include/sound/emu10k1.h')
-rw-r--r--include/sound/emu10k1.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/sound/emu10k1.h b/include/sound/emu10k1.h
index 43b6786abae5..8221df88053f 100644
--- a/include/sound/emu10k1.h
+++ b/include/sound/emu10k1.h
@@ -83,7 +83,8 @@
83#define IPR 0x08 /* Global interrupt pending register */ 83#define IPR 0x08 /* Global interrupt pending register */
84 /* Clear pending interrupts by writing a 1 to */ 84 /* Clear pending interrupts by writing a 1 to */
85 /* the relevant bits and zero to the other bits */ 85 /* the relevant bits and zero to the other bits */
86 86#define IPR_P16V 0x80000000 /* Bit set when the CA0151 P16V chip wishes
87 to interrupt */
87#define IPR_GPIOMSG 0x20000000 /* GPIO message interrupt (RE'd, still not sure 88#define IPR_GPIOMSG 0x20000000 /* GPIO message interrupt (RE'd, still not sure
88 which INTE bits enable it) */ 89 which INTE bits enable it) */
89 90
@@ -1109,7 +1110,9 @@ struct _snd_emu10k1 {
1109 1110
1110 emu10k1_voice_t voices[NUM_G]; 1111 emu10k1_voice_t voices[NUM_G];
1111 emu10k1_voice_t p16v_voices[4]; 1112 emu10k1_voice_t p16v_voices[4];
1113 emu10k1_voice_t p16v_capture_voice;
1112 int p16v_device_offset; 1114 int p16v_device_offset;
1115 u32 p16v_capture_source;
1113 emu10k1_pcm_mixer_t pcm_mixer[32]; 1116 emu10k1_pcm_mixer_t pcm_mixer[32];
1114 emu10k1_pcm_mixer_t efx_pcm_mixer[NUM_EFX_PLAYBACK]; 1117 emu10k1_pcm_mixer_t efx_pcm_mixer[NUM_EFX_PLAYBACK];
1115 snd_kcontrol_t *ctl_send_routing; 1118 snd_kcontrol_t *ctl_send_routing;