diff options
Diffstat (limited to 'al/effects/distortion.cpp')
-rw-r--r-- | al/effects/distortion.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/al/effects/distortion.cpp b/al/effects/distortion.cpp index 062cdc54..d0c9a3c2 100644 --- a/al/effects/distortion.cpp +++ b/al/effects/distortion.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" @@ -120,10 +120,8 @@ DEFINE_ALEFFECT_VTABLE(Distortion); const EffectProps DistortionEffectProps{genDefaultProps()}; -#if ALSOFT_EAX -namespace -{ - +#ifdef ALSOFT_EAX +namespace { using EaxDistortionEffectDirtyFlagsValue = std::uint_least8_t; @@ -636,15 +634,12 @@ bool EaxDistortionEffect::set( return false; } - } // namespace - EaxEffectUPtr eax_create_eax_distortion_effect( EffectProps& al_effect_props) { return std::make_unique<EaxDistortionEffect>(al_effect_props); } - #endif // ALSOFT_EAX |