Fix pitch of channel 3
Jeffrey Pfau jeffrey@endrift.com
Sun, 20 Oct 2013 16:04:22 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/gba/gba-audio.c
→
src/gba/gba-audio.c
@@ -434,7 +434,7 @@ ch->wavedata[i] |= bitsCarry >> 28;
bitsCarry = bits; } ch->sample = ((bitsCarry >> 26) - 0x20) * volume; - return 16 * (2048 - ch->control.rate); + return 8 * (2048 - ch->control.rate); } static int32_t _updateChannel4(struct GBAAudioChannel4* ch) {