# HG changeset patch # User Ryan C. Gordon # Date 1127823257 0 # Node ID b580f720154385c079b2ee992e9c420b308284a3 # Parent ab0154afe93892aabaaceb94149a6a046ac76138 From: "Alex Volkov" To: "'A list for developers using the SDL library. \(includesSDL-announce\)'" Date: Mon, 19 Sep 2005 18:59:43 -0400 Subject: [SDL] [patch] Volume multiplier bug in The volume multiplier in SDL_MixAudio_MMX_S8() is formed from the wrong register. diff -r ab0154afe938 -r b580f7201543 src/audio/SDL_mixer_MMX.c --- a/src/audio/SDL_mixer_MMX.c Tue Sep 27 11:27:38 2005 +0000 +++ b/src/audio/SDL_mixer_MMX.c Tue Sep 27 12:14:17 2005 +0000 @@ -121,7 +121,7 @@ " movl %3,%%eax\n" // eax = volume -" movd %%edx,%%mm0\n" +" movd %%eax,%%mm0\n" " movq %%mm0,%%mm1\n" " psllq $16,%%mm0\n" " por %%mm1,%%mm0\n"