From 2492d76896f9cb991760c408bcce7b1c79049979 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 4 Mar 2022 13:19:00 -0800 Subject: Ensure deferred EAX effect properties are committed --- al/effects/chorus.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'al/effects/chorus.cpp') 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_{}; @@ -460,9 +462,6 @@ private: const EaxEaxCall& eax_call); - // [[nodiscard]] - bool apply_deferred(); - // [[nodiscard]] bool set( const EaxEaxCall& eax_call); @@ -949,6 +948,8 @@ public: bool dispatch( const EaxEaxCall& eax_call) override; + // [[nodiscard]] + bool apply_deferred() override; private: EAXFLANGERPROPERTIES eax_{}; @@ -1045,9 +1046,6 @@ private: const EaxEaxCall& eax_call); - // [[nodiscard]] - bool apply_deferred(); - // [[nodiscard]] bool set( const EaxEaxCall& eax_call); -- cgit v1.2.3