diff options
author | James Courtier-Dutton <James@superbug.co.uk> | 2005-03-26 19:35:29 +0100 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-05-29 09:00:24 +0200 |
commit | 6e4abc40fc125b1dcc2792eacac17606a4d86043 (patch) | |
tree | 4b06290dd6a43d809b8762752166ea9b854b6f5f /include/sound/emu10k1.h | |
parent | d05b2817d859a2a2f2c3d5c056b688559fdbcc2b (diff) | |
download | kernel_samsung_espresso10-6e4abc40fc125b1dcc2792eacac17606a4d86043.zip kernel_samsung_espresso10-6e4abc40fc125b1dcc2792eacac17606a4d86043.tar.gz kernel_samsung_espresso10-6e4abc40fc125b1dcc2792eacac17606a4d86043.tar.bz2 |
[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.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/sound/emu10k1.h b/include/sound/emu10k1.h index 43b6786..8221df8 100644 --- a/include/sound/emu10k1.h +++ b/include/sound/emu10k1.h @@ -83,7 +83,8 @@ #define IPR 0x08 /* Global interrupt pending register */ /* Clear pending interrupts by writing a 1 to */ /* the relevant bits and zero to the other bits */ - +#define IPR_P16V 0x80000000 /* Bit set when the CA0151 P16V chip wishes + to interrupt */ #define IPR_GPIOMSG 0x20000000 /* GPIO message interrupt (RE'd, still not sure which INTE bits enable it) */ @@ -1109,7 +1110,9 @@ struct _snd_emu10k1 { emu10k1_voice_t voices[NUM_G]; emu10k1_voice_t p16v_voices[4]; + emu10k1_voice_t p16v_capture_voice; int p16v_device_offset; + u32 p16v_capture_source; emu10k1_pcm_mixer_t pcm_mixer[32]; emu10k1_pcm_mixer_t efx_pcm_mixer[NUM_EFX_PLAYBACK]; snd_kcontrol_t *ctl_send_routing; |