Skip to contentSkip to conversation

AC3 passtrough under 2.6.9 with SBlive

PATCH Gregoire Favre 1 participant 1 message Oct 20, 2004

lore
Share & tools
lore
#0 lore raw

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 +1 -1
@@ -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 :-)

Signature · 3 lines
	Grégoire Favre
________________________________________________________________________
http://magma.epfl.ch/greg ICQ:16624071 mailto:[email protected]