summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
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