diff options
author | Chris Robinson <[email protected]> | 2022-02-14 01:20:44 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-02-14 01:20:44 -0800 |
commit | 296128c94eafe0a4978be8e96d7127ef23c170e5 (patch) | |
tree | 11b015c34854da6517159b57ad13ebc6ab8a7f3d | |
parent | c0fc67e278390d5d232080884affd1cae9cf4fa7 (diff) |
Move some declarations to where the definitions will see
-rw-r--r-- | al/eax_effect.h | 13 | ||||
-rw-r--r-- | al/effects/effects.cpp | 15 |
2 files changed, 13 insertions, 15 deletions
diff --git a/al/eax_effect.h b/al/eax_effect.h index 2688ca9b..1ce41647 100644 --- a/al/eax_effect.h +++ b/al/eax_effect.h @@ -26,5 +26,18 @@ public: using EaxEffectUPtr = std::unique_ptr<EaxEffect>; +EaxEffectUPtr eax_create_eax_null_effect(); +EaxEffectUPtr eax_create_eax_chorus_effect(); +EaxEffectUPtr eax_create_eax_distortion_effect(); +EaxEffectUPtr eax_create_eax_echo_effect(); +EaxEffectUPtr eax_create_eax_flanger_effect(); +EaxEffectUPtr eax_create_eax_frequency_shifter_effect(); +EaxEffectUPtr eax_create_eax_vocal_morpher_effect(); +EaxEffectUPtr eax_create_eax_pitch_shifter_effect(); +EaxEffectUPtr eax_create_eax_ring_modulator_effect(); +EaxEffectUPtr eax_create_eax_auto_wah_effect(); +EaxEffectUPtr eax_create_eax_compressor_effect(); +EaxEffectUPtr eax_create_eax_equalizer_effect(); +EaxEffectUPtr eax_create_eax_reverb_effect(); #endif // !EAX_EFFECT_INCLUDED diff --git a/al/effects/effects.cpp b/al/effects/effects.cpp index 7be85dc0..faf322d2 100644 --- a/al/effects/effects.cpp +++ b/al/effects/effects.cpp @@ -10,21 +10,6 @@ #include "AL/efx.h" -EaxEffectUPtr eax_create_eax_null_effect(); -EaxEffectUPtr eax_create_eax_chorus_effect(); -EaxEffectUPtr eax_create_eax_distortion_effect(); -EaxEffectUPtr eax_create_eax_echo_effect(); -EaxEffectUPtr eax_create_eax_flanger_effect(); -EaxEffectUPtr eax_create_eax_frequency_shifter_effect(); -EaxEffectUPtr eax_create_eax_vocal_morpher_effect(); -EaxEffectUPtr eax_create_eax_pitch_shifter_effect(); -EaxEffectUPtr eax_create_eax_ring_modulator_effect(); -EaxEffectUPtr eax_create_eax_auto_wah_effect(); -EaxEffectUPtr eax_create_eax_compressor_effect(); -EaxEffectUPtr eax_create_eax_equalizer_effect(); -EaxEffectUPtr eax_create_eax_reverb_effect(); - - EaxEffectUPtr eax_create_eax_effect(ALenum al_effect_type) { #define EAX_PREFIX "[EAX_MAKE_EAX_EFFECT] " |