Re: [Alsa-user] Audigy SPDIF Output Sample Rate
Brought to you by:
perex
From: Lee R. <rlr...@jo...> - 2005-02-25 17:17:14
|
On Sun, 2005-02-20 at 01:28 -0500, Brian L Scipioni wrote: > I'm using yesterday's CVS. > > The new alsamixer control "Audigy SPDIF Output Sample Rate" for the > emu10k1 toggles the sample rate among 44100, 48000 and 96000. I believe > the mapping here is wrong (or at least the 3 rate labels are reversed). > My 5.1 receiver will accept 441000, 48000 or 96000 from SPDIF. When it > receives a 96KHz, signal it will indicate that with "96 k" printed out > on the receiver front panel LEDs. It does that when alsamixer selects > 44100 and NOT 48000 or 96000. So when alsamixer displays 44100, it > appears 96000 is actually being output. > Thanks. Please try the attached patch. Does your receiver tell you if it's receiving 48000 or 44100? If so please check that those are also correct. So, have you tested that 96KHz SPDIF playback sounds OK? None of the alsa developers seem to have a 96KHz capable receiver (unless someone want to give me one ;-)) so this is all untested so far. > Also some new behavior with the latest CVS: > When monitoring Aux2 in, the sound is badly distorted until the "Audigy > SPDIF Output Sample Rate" switch is toggled back and forth among the > rates. After a little rate switching, the sound becomes fine. This is probably related to this cryptic comment from some Creative engineer: 298 if (emu->revision == 4) { /* audigy2 */ 299 /* Unmute Analog now. Set GPO6 to 1 for Apollo. 300 * This has to be done after init ALice3 I2SOut beyond 48KHz. 301 * So, sequence is important. */ 302 outl(inl(emu->port + A_IOCFG) | 0x0040, emu->port + A_IOCFG); We have no idea what "Alice3" and "Apollo" are, though we have some good guesses ;-) I'll see if I can fix this. The comment implies that in order to set 96KHz mode, we may have to mute and unmute analog around the samplerate register setting. So instead of noise you would get a brief silence. Lee |