diff options
author | Dave Chapman <dave@dchapman.com> | 2002-05-15 21:54:22 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2002-05-15 21:54:22 +0000 |
commit | 379a39b4403c243ec3de9d0412ed123321fc5124 (patch) | |
tree | 4213575fdb35bb2c9016b09ed9004a9bb5ab5c67 /uisimulator | |
parent | 553c2567f4e21df002f45e6ddc0234999e58ad69 (diff) | |
download | rockbox-379a39b4403c243ec3de9d0412ed123321fc5124.tar.gz 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')
-rw-r--r-- | uisimulator/common/mpegplay.c | 2 |
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) | |||
269 | * the right output channel is the same as the left one. | 269 | * the right output channel is the same as the left one. |
270 | */ | 270 | */ |
271 | if(MAD_NCHANNELS(&Frame.header)==2) | 271 | if(MAD_NCHANNELS(&Frame.header)==2) |
272 | Sample=scale(Synth.pcm.samples[1][i],&d0); | 272 | Sample=scale(Synth.pcm.samples[1][i],&d1); |
273 | *(OutputPtr++)=Sample&0xff; | 273 | *(OutputPtr++)=Sample&0xff; |
274 | *(OutputPtr++)=Sample>>8; | 274 | *(OutputPtr++)=Sample>>8; |
275 | 275 | ||