aboutsummaryrefslogtreecommitdiffstats
path: root/al/eax_effect.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-02-07 10:17:13 -0800
committerChris Robinson <[email protected]>2022-02-07 10:17:13 -0800
commit0c507b5c621993206d94fc3776174eb96823f265 (patch)
tree27ce2550c88fb9f73145fd8be2298850814985bc /al/eax_effect.h
parentb09aab8426b0feb74cacb8704b4953b3b56a8c30 (diff)
Avoid using ALeffect to manage EaxEffect objects
Effect slots can just use its EaxEffect directly.
Diffstat (limited to 'al/eax_effect.h')
-rw-r--r--al/eax_effect.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/al/eax_effect.h b/al/eax_effect.h
index 23dbb73e..2688ca9b 100644
--- a/al/eax_effect.h
+++ b/al/eax_effect.h
@@ -4,16 +4,18 @@
#include <memory>
+#include "AL/al.h"
+#include "core/effects/base.h"
#include "eax_eax_call.h"
-
class EaxEffect
{
public:
- EaxEffect() = default;
-
+ EaxEffect(ALenum type) : al_effect_type_{type} { }
virtual ~EaxEffect() = default;
+ const ALenum al_effect_type_;
+ EffectProps al_effect_props_{};
// Returns "true" if any immediated property was changed.
// [[nodiscard]]