2004-10-20 13:51:21

by Gregoire Favre

[permalink] [raw]
Subject: AC3 passtrough under 2.6.9 with SBlive

Hello,

all 2.6.9 don't work regarding AC3 passtrough on my SBlive, someone
under #ALSA in irc give me a small patch that make is works:

--- emupcm.c 16 Sep 2004 10:36:44 -0000 1.32
+++ emupcm.c 30 Sep 2004 10:06:53 -0000 1.33
@@ -1192,7 +1192,7 @@
}
snd_emu10k1_fx8010_playback_tram_poke1((unsigned short *)emu->fx8010.etram_pages.area + tram_pos,
(unsigned short *)emu->fx8010.etram_pages.area + tram_pos + tram_size / 2,
- src, frames, tram_shift++);
+ src, frames, tram_shift);
tram_pos -= frames;
pcm->tram_pos = tram_pos;
pcm->tram_shift = tram_shift;

It's fixed in the ALSA CVS, but it would be nice if that one could
already goes in next release :-)
--
Gr?goire Favre
________________________________________________________________________
http://magma.epfl.ch/greg ICQ:16624071 mailto:[email protected]