aboutsummaryrefslogtreecommitdiffstats
path: root/al/eax_effect.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-03-05 01:14:26 -0800
committerChris Robinson <[email protected]>2022-03-05 01:14:26 -0800
commit2dc9cf170c08f0b7f35ec46cb17c829888e7392c (patch)
tree76865c75ba9cd0dce3452988ff28ac7636a82872 /al/eax_effect.h
parent7bec22abb61fa1b87e157dd6b577ba174d3273d3 (diff)
Simplify committing EAX properties
Based on DirectSound's EAX behavior, committing any EAX property commits *all* deferred property changes, not just the object being changed. So applying EAX changes can be handled in one place.
Diffstat (limited to 'al/eax_effect.h')
-rw-r--r--al/eax_effect.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/al/eax_effect.h b/al/eax_effect.h
index 6de9afcc..45315ca6 100644
--- a/al/eax_effect.h
+++ b/al/eax_effect.h
@@ -17,11 +17,9 @@ public:
const ALenum al_effect_type_;
EffectProps al_effect_props_{};
- // Returns "true" if any immediated property was changed.
- // [[nodiscard]]
- virtual bool dispatch(
- const EaxEaxCall& eax_call) = 0;
+ virtual void dispatch(const EaxEaxCall& eax_call) = 0;
+ // Returns "true" if any immediated property was changed.
// [[nodiscard]]
virtual bool apply_deferred() = 0;
}; // EaxEffect