summaryrefslogtreecommitdiffstats
path: root/uisimulator/common
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2002-05-15 21:54:22 +0000
committerDave Chapman <dave@dchapman.com>2002-05-15 21:54:22 +0000
commit379a39b4403c243ec3de9d0412ed123321fc5124 (patch)
tree4213575fdb35bb2c9016b09ed9004a9bb5ab5c67 /uisimulator/common
parent553c2567f4e21df002f45e6ddc0234999e58ad69 (diff)
downloadrockbox-379a39b4403c243ec3de9d0412ed123321fc5124.tar.gz
rockbox-379a39b4403c243ec3de9d0412ed123321fc5124.tar.bz2
rockbox-379a39b4403c243ec3de9d0412ed123321fc5124.zip
fixed dithering bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@582 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/common')
-rw-r--r--uisimulator/common/mpegplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uisimulator/common/mpegplay.c b/uisimulator/common/mpegplay.c
index 5ecfca9e97..76e9655be6 100644
--- a/uisimulator/common/mpegplay.c
+++ b/uisimulator/common/mpegplay.c
@@ -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;