summaryrefslogtreecommitdiffstats
path: root/src/audio_core/command_generator.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-07-08Replace NaN mix volume samples with silence.Kelebek11-0/+9
Fixes Xenoblade Chronicles 2 blowing out the audio.
2021-07-08audio_core: Preserve front channel volume after 6 to 2 downmixKelebek11-38/+48
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.
2021-07-06Support more PCM formats. Fixes Ys IX audio.Kelebek11-16/+48
2021-07-01Fix XC2/VOEZ crashing, add audio looping and a few misc fixesKelebek11-34/+42
2021-02-13revert to std::sin and std::cosChloe Marcec1-2/+2
2021-02-13address issuesChloe Marcec1-10/+12
2021-02-13audren: Implement I3dl2ReverbChloe Marcec1-17/+338
Most notable fix is the voices in Fire Emblem Three Houses
2021-02-01audren: Disable reverb for the time beingChloe Marcec1-1/+4
As this is causing issues in a few games, it's best to have it disabled until it's completely implemented
2020-12-03audio_core: Make shadowing and unused parameters errorsLioncash1-11/+16
Moves the audio code closer to enabling warnings as errors in general.
2020-10-21Revert "core: Fix clang build"bunnei1-120/+92
2020-10-18core: Fix clang buildLioncash1-92/+120
Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795
2020-10-13audio_core/CMakeLists: Make warnings consistent with coreLioncash1-2/+1
Normalizes the warnings shared between audio_core and core.
2020-09-26command_generator: Make lookup table static constexprLioncash1-2/+3
Allows compilers to elide needing to push these values on the stack every time the function is called.
2020-09-25audio_core: Resolve sign conversion warningsLioncash1-6/+6
While were at it, we can also enable sign conversion warnings and other common warnings as errors to prevent these from creeping back into the codebase.
2020-09-17audio_core/command_generator: Use const references where applicableLioncash1-10/+11
In a lot of cases, we can make use of const references rather than non-const references. While we're in the area we can silence some truncation and sign conversion warnings.
2020-09-17audio_core/command_generator: Avoid an unnecessary copy in GenerateFinalMixCommand()Lioncash1-1/+1
2020-08-16Preliminary effectsDavid Marcec1-4/+183
2020-08-14Disable biquad filterDavid Marcec1-8/+9
2020-08-14Reworked ADPCM decoder to allow better streamingDavid Marcec1-32/+87
2020-08-01mix buffer depoppingDavid Marcec1-29/+94
2020-07-30adpcm streamingDavid Marcec1-22/+31
2020-07-25Address issuesDavid Marcec1-78/+77
2020-07-25audio_core: Apollo Part 1, AudioRenderer refactorDavid Marcec1-0/+668