diff options
author | James Courtier-Dutton <James@superbug.co.uk> | 2005-04-09 17:38:25 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-05-29 03:58:49 -0400 |
commit | 001f758990d685e7023008763795f1970ef56614 (patch) | |
tree | e460f23636ebf2aa45e185b5936243400e8b68b4 /sound/pci/emu10k1/emumixer.c | |
parent | df34140a9c15d4be8833f7977dca277a03ab87b0 (diff) |
[ALSA] Improve SPDIF playback via the P16V/CA0151 chip.
EMU10K1/EMU10K2 driver
Although we can set 44100 as the output rate, the SPDIF can do it, but the Analog output cannot.
The SPDIF has the bug, whereby the Left channel arrives one sample late, so although we don't do any resampling,
it is not good for AC3 non-audio output.
Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
Diffstat (limited to 'sound/pci/emu10k1/emumixer.c')
-rw-r--r-- | sound/pci/emu10k1/emumixer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/emu10k1/emumixer.c b/sound/pci/emu10k1/emumixer.c index d0b296587cc0..b544c2582663 100644 --- a/sound/pci/emu10k1/emumixer.c +++ b/sound/pci/emu10k1/emumixer.c | |||
@@ -935,10 +935,12 @@ int __devinit snd_emu10k1_mixer(emu10k1_t *emu) | |||
935 | return -ENOMEM; | 935 | return -ENOMEM; |
936 | if ((err = snd_ctl_add(card, kctl))) | 936 | if ((err = snd_ctl_add(card, kctl))) |
937 | return err; | 937 | return err; |
938 | #if 0 | ||
938 | if ((kctl = snd_ctl_new1(&snd_audigy_spdif_output_rate, emu)) == NULL) | 939 | if ((kctl = snd_ctl_new1(&snd_audigy_spdif_output_rate, emu)) == NULL) |
939 | return -ENOMEM; | 940 | return -ENOMEM; |
940 | if ((err = snd_ctl_add(card, kctl))) | 941 | if ((err = snd_ctl_add(card, kctl))) |
941 | return err; | 942 | return err; |
943 | #endif | ||
942 | } else if (! emu->card_capabilities->ecard) { | 944 | } else if (! emu->card_capabilities->ecard) { |
943 | /* sb live! */ | 945 | /* sb live! */ |
944 | if ((kctl = snd_ctl_new1(&snd_emu10k1_shared_spdif, emu)) == NULL) | 946 | if ((kctl = snd_ctl_new1(&snd_emu10k1_shared_spdif, emu)) == NULL) |