aboutsummaryrefslogtreecommitdiffstats
path: root/al/effects/fshifter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'al/effects/fshifter.cpp')
-rw-r--r--al/effects/fshifter.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/al/effects/fshifter.cpp b/al/effects/fshifter.cpp
index aa4ddadb..74ef52d9 100644
--- a/al/effects/fshifter.cpp
+++ b/al/effects/fshifter.cpp
@@ -10,7 +10,7 @@
#include "aloptional.h"
#include "effects.h"
-#if ALSOFT_EAX
+#ifdef ALSOFT_EAX
#include <cassert>
#include "alnumeric.h"
@@ -138,10 +138,8 @@ DEFINE_ALEFFECT_VTABLE(Fshifter);
const EffectProps FshifterEffectProps{genDefaultProps()};
-#if ALSOFT_EAX
-namespace
-{
-
+#ifdef ALSOFT_EAX
+namespace {
using EaxFrequencyShifterEffectDirtyFlagsValue = std::uint_least8_t;
@@ -530,15 +528,12 @@ bool EaxFrequencyShifterEffect::set(
return false;
}
-
} // namespace
-
EaxEffectUPtr eax_create_eax_frequency_shifter_effect(
EffectProps& al_effect_props)
{
return std::make_unique<EaxFrequencyShifterEffect>(al_effect_props);
}
-
#endif // ALSOFT_EAX