aboutsummaryrefslogtreecommitdiffstats
path: root/al/effects/equalizer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'al/effects/equalizer.cpp')
-rw-r--r--al/effects/equalizer.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/al/effects/equalizer.cpp b/al/effects/equalizer.cpp
index c052db3e..4ff26178 100644
--- a/al/effects/equalizer.cpp
+++ b/al/effects/equalizer.cpp
@@ -7,7 +7,7 @@
#include "alc/effects/base.h"
#include "effects.h"
-#if ALSOFT_EAX
+#ifdef ALSOFT_EAX
#include "alnumeric.h"
#include "al/eax_exception.h"
@@ -175,10 +175,8 @@ DEFINE_ALEFFECT_VTABLE(Equalizer);
const EffectProps EqualizerEffectProps{genDefaultProps()};
-#if ALSOFT_EAX
-namespace
-{
-
+#ifdef ALSOFT_EAX
+namespace {
using EaxEqualizerEffectDirtyFlagsValue = std::uint_least16_t;
@@ -1021,15 +1019,12 @@ bool EaxEqualizerEffect::set(
return false;
}
-
} // namespace
-
EaxEffectUPtr eax_create_eax_equalizer_effect(
EffectProps& al_effect_props)
{
return std::make_unique<EaxEqualizerEffect>(al_effect_props);
}
-
#endif // ALSOFT_EAX