diff options
author | Chris Robinson <[email protected]> | 2022-01-30 05:42:44 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-01-30 05:42:44 -0800 |
commit | 816bd8ab309dc0fe9afefcc5e3f2c294d3dc60a5 (patch) | |
tree | 75cf4b9c90bb3aa8d461b6a7dc417329bd2175d3 /al/source.h | |
parent | c9d59ebc4a2c3566d34759a901be639b5f932e30 (diff) |
Move ALSOFT_EAX definition to config.h
And disable it by default for non-Windows targets
Diffstat (limited to 'al/source.h')
-rw-r--r-- | al/source.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/al/source.h b/al/source.h index 41cd6187..2fbb7b22 100644 --- a/al/source.h +++ b/al/source.h @@ -21,7 +21,7 @@ #include "core/voice.h" #include "vector.h" -#if ALSOFT_EAX +#ifdef ALSOFT_EAX #include "eax_eax_call.h" #include "eax_fx_slot_index.h" #include "eax_utils.h" @@ -47,11 +47,10 @@ struct ALbufferQueueItem : public VoiceBufferItem { }; -#if ALSOFT_EAX -struct EaxSourceInitParam -{ - ALCcontext* al_context{}; - ALfilter* al_filter{}; +#ifdef ALSOFT_EAX +struct EaxSourceInitParam { + ALCcontext* al_context{}; + ALfilter* al_filter{}; }; // EaxSourceInitParam @@ -213,7 +212,7 @@ struct ALsource { DISABLE_ALLOC() -#if ALSOFT_EAX +#ifdef ALSOFT_EAX public: void eax_initialize( const EaxSourceInitParam& param) noexcept; |