1
0
Fork 0
forked from len0rd/rockbox

fixed dithering bug

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@582 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2002-05-15 21:54:22 +00:00
parent 553c2567f4
commit 379a39b440

View file

@ -269,7 +269,7 @@ int mpeg_play(char* fname)
* the right output channel is the same as the left one.
*/
if(MAD_NCHANNELS(&Frame.header)==2)
Sample=scale(Synth.pcm.samples[1][i],&d0);
Sample=scale(Synth.pcm.samples[1][i],&d1);
*(OutputPtr++)=Sample&0xff;
*(OutputPtr++)=Sample>>8;