diff options
author | bunnei <bunneidev@gmail.com> | 2020-12-31 10:46:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-31 10:46:53 +0100 |
commit | 60121d8f2881326ffcf7186c06677b0fa98b20ff (patch) | |
tree | 08b321bdfa5ab271a776398405a83b07091ba859 /src/audio_core | |
parent | Merge pull request #5265 from german77/port5509 (diff) | |
parent | Make the coding conventions more consistant (diff) | |
download | yuzu-60121d8f2881326ffcf7186c06677b0fa98b20ff.tar yuzu-60121d8f2881326ffcf7186c06677b0fa98b20ff.tar.gz yuzu-60121d8f2881326ffcf7186c06677b0fa98b20ff.tar.bz2 yuzu-60121d8f2881326ffcf7186c06677b0fa98b20ff.tar.lz yuzu-60121d8f2881326ffcf7186c06677b0fa98b20ff.tar.xz yuzu-60121d8f2881326ffcf7186c06677b0fa98b20ff.tar.zst yuzu-60121d8f2881326ffcf7186c06677b0fa98b20ff.zip |
Diffstat (limited to 'src/audio_core')
-rw-r--r-- | src/audio_core/algorithm/interpolate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio_core/algorithm/interpolate.cpp b/src/audio_core/algorithm/interpolate.cpp index 699fcb84c..3b4144e21 100644 --- a/src/audio_core/algorithm/interpolate.cpp +++ b/src/audio_core/algorithm/interpolate.cpp @@ -218,7 +218,7 @@ void Resample(s32* output, const s32* input, s32 pitch, s32& fraction, std::size const auto l2 = lut[lut_index + 2]; const auto l3 = lut[lut_index + 3]; - const auto s0 = static_cast<s32>(input[index]); + const auto s0 = static_cast<s32>(input[index + 0]); const auto s1 = static_cast<s32>(input[index + 1]); const auto s2 = static_cast<s32>(input[index + 2]); const auto s3 = static_cast<s32>(input[index + 3]); |