aboutsummaryrefslogtreecommitdiffstats
path: root/al/effects/chorus.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-03-04 13:19:00 -0800
committerChris Robinson <[email protected]>2022-03-04 13:19:00 -0800
commit2492d76896f9cb991760c408bcce7b1c79049979 (patch)
treec79a1ee96dccd86e6f2ebbee4b4f4e600b31d5bc /al/effects/chorus.cpp
parent240171a53da8ede2ec8b7e8f890a3e10c08aff4a (diff)
Ensure deferred EAX effect properties are committed
Diffstat (limited to 'al/effects/chorus.cpp')
-rw-r--r--al/effects/chorus.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/al/effects/chorus.cpp b/al/effects/chorus.cpp
index 15b9d635..397b338a 100644
--- a/al/effects/chorus.cpp
+++ b/al/effects/chorus.cpp
@@ -364,6 +364,8 @@ public:
bool dispatch(
const EaxEaxCall& eax_call) override;
+ // [[nodiscard]]
+ bool apply_deferred() override;
private:
EAXCHORUSPROPERTIES eax_{};
@@ -461,9 +463,6 @@ private:
// [[nodiscard]]
- bool apply_deferred();
-
- // [[nodiscard]]
bool set(
const EaxEaxCall& eax_call);
}; // EaxChorusEffect
@@ -949,6 +948,8 @@ public:
bool dispatch(
const EaxEaxCall& eax_call) override;
+ // [[nodiscard]]
+ bool apply_deferred() override;
private:
EAXFLANGERPROPERTIES eax_{};
@@ -1046,9 +1047,6 @@ private:
// [[nodiscard]]
- bool apply_deferred();
-
- // [[nodiscard]]
bool set(
const EaxEaxCall& eax_call);
}; // EaxFlangerEffect