summaryrefslogtreecommitdiff
path: root/src/input_common/analog_from_button.cpp
diff options
context:
space:
mode:
authorGravatar Kelebek12021-07-07 14:56:23 +0100
committerGravatar Kelebek12021-07-08 17:07:23 +0100
commit7636fefb715492960545f5b921b0714ae261f2f6 (patch)
tree823c07fef75b9cda6ce54f54cd26bebf21e669cd /src/input_common/analog_from_button.cpp
parentMerge pull request #6562 from Morph1984/flush-behavior (diff)
downloadyuzu-7636fefb715492960545f5b921b0714ae261f2f6.tar.gz
yuzu-7636fefb715492960545f5b921b0714ae261f2f6.tar.xz
yuzu-7636fefb715492960545f5b921b0714ae261f2f6.zip
audio_core: Preserve front channel volume after 6 to 2 downmix
Many games report 6 channel output while only providing data for 2. We only output 2-channel audio regardless, and in the downmixing, front left/right only provide 36% of their volume. This is done assuming all of the other channels also contain valid data, but in many games they don't. This PR alters the downmixing to preserve front left/right, so volume is not lost. This improves volume in Link's Awakening, New Super Mario Bros U, Disgaea 6, Super Kirby Clash.
Diffstat (limited to 'src/input_common/analog_from_button.cpp')
0 files changed, 0 insertions, 0 deletions