summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/Android/Android.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2026-04-04 12:20:41 +0200
committerJosJuice <josjuice@gmail.com>2026-04-05 09:17:28 +0200
commitef997d0d822f4c75721313e0e5952838896817c6 (patch)
treec7a0bd92b74e3bfb92363afbdee66859ee271cd6 /Source/Core/InputCommon/ControllerInterface/Android/Android.cpp
parentc4e99cef61191248f80cb235b6cee1fad16d2c2b (diff)
Improve Game Boy Player audio conversion to PWM
In the PWM audio we output, instead of each group of 512 bits consisting of a run of ones followed by a run of zeroes, now each group of 32 bits consists of a run of ones followed by a run of zeroes. This gets rid of noise that was previously present. Doing this for every group of 8 bits instead makes the Game Boy Player Start-Up Disc not start correctly for some reason. Game Boy Interface works fine, though. I also made us not discard the bottom 7 bits of each PCM sample. According to Extrems, a real GBA doesn't actually output that many bits, but doing it in this way makes the code simpler anyway.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/Android/Android.cpp')
0 files changed, 0 insertions, 0 deletions