Prescale audio

This commit is contained in:
Jeffrey Pfau 2013-10-18 09:41:13 -07:00
parent 565ee43bb2
commit 04f99bd358
1 changed files with 3 additions and 3 deletions

View File

@ -310,15 +310,15 @@ static void _sample(struct GBAAudio* audio) {
}
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) {