mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[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 <[email protected]>
This commit is contained in:
parent
c702563703
commit
f927c8fc64
2 changed files with 62 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue