Fix audio loudness issues
Jeffrey Pfau jeffrey@endrift.com
Fri, 18 Oct 2013 19:44:55 -0700
1 files changed,
4 insertions(+),
4 deletions(-)
jump to
M
src/gba/gba-audio.c
→
src/gba/gba-audio.c
@@ -310,19 +310,19 @@ sampleRight += audio->ch4.sample >> psgShift;
} if (audio->chALeft) { - sampleLeft += (audio->chA.sample << 2) >> audio->volumeChA; + sampleLeft += (audio->chA.sample << 2) >> !audio->volumeChA; } if (audio->chARight) { - sampleRight += (audio->chA.sample << 2) >> audio->volumeChA; + sampleRight += (audio->chA.sample << 2) >> !audio->volumeChA; } if (audio->chBLeft) { - sampleLeft += (audio->chB.sample << 2) >> audio->volumeChB; + sampleLeft += (audio->chB.sample << 2) >> !audio->volumeChB; } if (audio->chBRight) { - sampleRight += audio->chB.sample >> audio->volumeChB; + sampleRight += (audio->chB.sample << 2) >> !audio->volumeChB; } pthread_mutex_lock(&audio->bufferMutex);