Prescale audio
Jeffrey Pfau jeffrey@endrift.com
Fri, 18 Oct 2013 09:41:13 -0700
1 files changed,
3 insertions(+),
3 deletions(-)
jump to
M
src/gba/gba-audio.c
→
src/gba/gba-audio.c
@@ -310,15 +310,15 @@ sampleRight += audio->ch4.sample >> psgShift;
} if (audio->chALeft) { - sampleLeft += audio->chA.sample >> audio->volumeChA; + sampleLeft += (audio->chA.sample << 2) >> audio->volumeChA; } if (audio->chARight) { - sampleRight += audio->chA.sample >> audio->volumeChA; + sampleRight += (audio->chA.sample << 2) >> audio->volumeChA; } if (audio->chBLeft) { - sampleLeft += audio->chB.sample >> audio->volumeChB; + sampleLeft += (audio->chB.sample << 2) >> audio->volumeChB; } if (audio->chBRight) {