diff options
author | Lioncash <mathew1800@gmail.com> | 2022-09-16 15:57:23 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2022-09-16 15:58:49 +0200 |
commit | e4bc7b8611677591fb41c9f97bad22b5eb57ab98 (patch) | |
tree | 43f469ae3c3535ab0fb94a5ca05b4e7b98b8d113 | |
parent | behavior_info: Mark CopyErrorInfo as const (diff) | |
download | yuzu-e4bc7b8611677591fb41c9f97bad22b5eb57ab98.tar yuzu-e4bc7b8611677591fb41c9f97bad22b5eb57ab98.tar.gz yuzu-e4bc7b8611677591fb41c9f97bad22b5eb57ab98.tar.bz2 yuzu-e4bc7b8611677591fb41c9f97bad22b5eb57ab98.tar.lz yuzu-e4bc7b8611677591fb41c9f97bad22b5eb57ab98.tar.xz yuzu-e4bc7b8611677591fb41c9f97bad22b5eb57ab98.tar.zst yuzu-e4bc7b8611677591fb41c9f97bad22b5eb57ab98.zip |
-rw-r--r-- | src/audio_core/renderer/effect/i3dl2.h | 4 | ||||
-rw-r--r-- | src/audio_core/renderer/effect/reverb.h | 4 |
2 files changed, 4 insertions, 4 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; diff --git a/src/audio_core/renderer/effect/reverb.h b/src/audio_core/renderer/effect/reverb.h index b4df9f6ef..a72475c3c 100644 --- a/src/audio_core/renderer/effect/reverb.h +++ b/src/audio_core/renderer/effect/reverb.h @@ -95,7 +95,7 @@ public: return out_sample; } - Common::FixedPoint<50, 14> Read() { + Common::FixedPoint<50, 14> Read() const { return *output; } @@ -106,7 +106,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 += sample_count; |