summaryrefslogtreecommitdiffstats
path: root/src/audio_core
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-05-13 06:17:38 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2022-05-13 06:50:58 +0200
commiteea68eae18ba0d7a3d6828c0920a09bd0303ac47 (patch)
tree91120a61d582e97d76133624631edd4e54f401b2 /src/audio_core
parentMerge pull request #8308 from german77/disablesix (diff)
downloadyuzu-eea68eae18ba0d7a3d6828c0920a09bd0303ac47.tar
yuzu-eea68eae18ba0d7a3d6828c0920a09bd0303ac47.tar.gz
yuzu-eea68eae18ba0d7a3d6828c0920a09bd0303ac47.tar.bz2
yuzu-eea68eae18ba0d7a3d6828c0920a09bd0303ac47.tar.lz
yuzu-eea68eae18ba0d7a3d6828c0920a09bd0303ac47.tar.xz
yuzu-eea68eae18ba0d7a3d6828c0920a09bd0303ac47.tar.zst
yuzu-eea68eae18ba0d7a3d6828c0920a09bd0303ac47.zip
Diffstat (limited to 'src/audio_core')
-rw-r--r--src/audio_core/command_generator.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/audio_core/command_generator.cpp b/src/audio_core/command_generator.cpp
index ae4efafb6..ff20ed00f 100644
--- a/src/audio_core/command_generator.cpp
+++ b/src/audio_core/command_generator.cpp
@@ -129,17 +129,17 @@ s32 ToS32(float sample) {
return static_cast<s32>(rescaled_sample);
}
-constexpr std::array<std::size_t, 20> REVERB_TAP_INDEX_1CH{0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
+constexpr std::array<u8, 20> REVERB_TAP_INDEX_1CH{0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
-constexpr std::array<std::size_t, 20> REVERB_TAP_INDEX_2CH{0, 0, 0, 1, 1, 1, 1, 0, 0, 0,
- 1, 1, 1, 0, 0, 0, 0, 1, 1, 1};
+constexpr std::array<u8, 20> REVERB_TAP_INDEX_2CH{0, 0, 0, 1, 1, 1, 1, 0, 0, 0,
+ 1, 1, 1, 0, 0, 0, 0, 1, 1, 1};
-constexpr std::array<std::size_t, 20> REVERB_TAP_INDEX_4CH{0, 0, 0, 1, 1, 1, 1, 2, 2, 2,
- 1, 1, 1, 0, 0, 0, 0, 3, 3, 3};
+constexpr std::array<u8, 20> REVERB_TAP_INDEX_4CH{0, 0, 0, 1, 1, 1, 1, 2, 2, 2,
+ 1, 1, 1, 0, 0, 0, 0, 3, 3, 3};
-constexpr std::array<std::size_t, 20> REVERB_TAP_INDEX_6CH{4, 0, 0, 1, 1, 1, 1, 2, 2, 2,
- 1, 1, 1, 0, 0, 0, 0, 3, 3, 3};
+constexpr std::array<u8, 20> REVERB_TAP_INDEX_6CH{4, 0, 0, 1, 1, 1, 1, 2, 2, 2,
+ 1, 1, 1, 0, 0, 0, 0, 3, 3, 3};
template <std::size_t CHANNEL_COUNT>
void ApplyReverbGeneric(