aboutsummaryrefslogtreecommitdiffstats
path: root/al/effects/pshifter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'al/effects/pshifter.cpp')
-rw-r--r--al/effects/pshifter.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/al/effects/pshifter.cpp b/al/effects/pshifter.cpp
index 03f9a139..7c355be1 100644
--- a/al/effects/pshifter.cpp
+++ b/al/effects/pshifter.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"
@@ -90,10 +90,8 @@ DEFINE_ALEFFECT_VTABLE(Pshifter);
const EffectProps PshifterEffectProps{genDefaultProps()};
-#if ALSOFT_EAX
-namespace
-{
-
+#ifdef ALSOFT_EAX
+namespace {
using EaxPitchShifterEffectDirtyFlagsValue = std::uint_least8_t;
@@ -408,15 +406,12 @@ bool EaxPitchShifterEffect::set(
return false;
}
-
} // namespace
-
EaxEffectUPtr eax_create_eax_pitch_shifter_effect(
EffectProps& al_effect_props)
{
return std::make_unique<EaxPitchShifterEffect>(al_effect_props);
}
-
#endif // ALSOFT_EAX