aboutsummaryrefslogtreecommitdiff
path: root/src/audio_core/renderer/effect/i3dl2.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2022-09-16 09:57:23 -0400
committerLioncash <mathew1800@gmail.com>2022-09-16 09:58:49 -0400
commite4bc7b8611677591fb41c9f97bad22b5eb57ab98 (patch)
tree43f469ae3c3535ab0fb94a5ca05b4e7b98b8d113 /src/audio_core/renderer/effect/i3dl2.h
parentb2c2138af7c0ed5e6c254c9c62e19a30e80b3b42 (diff)
i3dl2/reverb: Mark relevant member functions as const
These two don't modify member state.
Diffstat (limited to 'src/audio_core/renderer/effect/i3dl2.h')
-rw-r--r--src/audio_core/renderer/effect/i3dl2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio_core/renderer/effect/i3dl2.h b/src/audio_core/renderer/effect/i3dl2.h
index 7a088a627..1ebbc5c4c 100644
--- a/src/audio_core/renderer/effect/i3dl2.h
+++ b/src/audio_core/renderer/effect/i3dl2.h
@@ -99,7 +99,7 @@ public:
return out_sample;
}
- Common::FixedPoint<50, 14> Read() {
+ Common::FixedPoint<50, 14> Read() const {
return *output;
}
@@ -110,7 +110,7 @@ public:
}
}
- Common::FixedPoint<50, 14> TapOut(const s32 index) {
+ Common::FixedPoint<50, 14> TapOut(const s32 index) const {
auto out{input - (index + 1)};
if (out < buffer.data()) {
out += max_delay + 1;