aboutsummaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorJames Courtier-Dutton <James@superbug.co.uk>2005-05-07 15:34:13 +0200
committerJaroslav Kysela <perex@suse.cz>2005-05-29 10:06:16 +0200
commitf927c8fc648420ad8edd7e4699b4ba510c2e9c6b (patch)
tree54f71ca24c9c45a4b0c4a9e75e3ebda9a918ad74 /include/sound
parentc702563703b5680a7143f8ac66613d082a190ca2 (diff)
[ALSA] Implement different capture sources.
EMU10K1/EMU10K2 driver e.g. When HD Capture source is set to SPDIF, setting HD Capture channel to 0 captures from CDROM digital input. setting HD Capture channel to 1 captures from SPDIF in. Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/emu10k1.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/emu10k1.h b/include/sound/emu10k1.h
index 23dabbceb4b..c50b91958ff 100644
--- a/include/sound/emu10k1.h
+++ b/include/sound/emu10k1.h
@@ -1130,6 +1130,7 @@ struct _snd_emu10k1 {
emu10k1_voice_t p16v_capture_voice;
int p16v_device_offset;
u32 p16v_capture_source;
+ u32 p16v_capture_channel;
emu10k1_pcm_mixer_t pcm_mixer[32];
emu10k1_pcm_mixer_t efx_pcm_mixer[NUM_EFX_PLAYBACK];
snd_kcontrol_t *ctl_send_routing;