diff options
-rw-r--r-- | CMakeLists.txt | 28 | ||||
-rw-r--r-- | alc/alcmain.h | 2 | ||||
-rw-r--r-- | alc/alu.cpp | 2 | ||||
-rw-r--r-- | alc/converter.cpp | 1 | ||||
-rw-r--r-- | alc/converter.h | 2 | ||||
-rw-r--r-- | alc/hrtf.h | 2 | ||||
-rw-r--r-- | alc/voice.cpp | 4 | ||||
-rw-r--r-- | alc/voice.h | 2 | ||||
-rw-r--r-- | core/mixer/defs.h (renamed from alc/mixer/defs.h) | 6 | ||||
-rw-r--r-- | core/mixer/hrtfbase.h (renamed from alc/mixer/hrtfbase.h) | 6 | ||||
-rw-r--r-- | core/mixer/hrtfdefs.h (renamed from alc/mixer/hrtfdefs.h) | 6 | ||||
-rw-r--r-- | core/mixer/mixer_c.cpp (renamed from alc/mixer/mixer_c.cpp) | 0 | ||||
-rw-r--r-- | core/mixer/mixer_neon.cpp (renamed from alc/mixer/mixer_neon.cpp) | 0 | ||||
-rw-r--r-- | core/mixer/mixer_sse.cpp (renamed from alc/mixer/mixer_sse.cpp) | 0 | ||||
-rw-r--r-- | core/mixer/mixer_sse2.cpp (renamed from alc/mixer/mixer_sse2.cpp) | 0 | ||||
-rw-r--r-- | core/mixer/mixer_sse3.cpp (renamed from alc/mixer/mixer_sse3.cpp) | 0 | ||||
-rw-r--r-- | core/mixer/mixer_sse41.cpp (renamed from alc/mixer/mixer_sse41.cpp) | 0 |
17 files changed, 30 insertions, 31 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 55666e4f..a5ae4d43 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -615,7 +615,11 @@ set(CORE_OBJS core/mastering.cpp core/mastering.h core/uhjfilter.cpp - core/uhjfilter.h) + core/uhjfilter.h + core/mixer/defs.h + core/mixer/hrtfbase.h + core/mixer/hrtfdefs.h + core/mixer/mixer_c.cpp) # AL and related routines set(OPENAL_OBJS @@ -702,11 +706,7 @@ set(ALC_OBJS alc/panning.cpp alc/uiddefs.cpp alc/voice.cpp - alc/voice.h - alc/mixer/defs.h - alc/mixer/hrtfbase.h - alc/mixer/hrtfdefs.h - alc/mixer/mixer_c.cpp) + alc/voice.h) set(CPU_EXTS "Default") @@ -725,9 +725,9 @@ if(HAVE_XMMINTRIN_H AND HAVE_EMMINTRIN_H) if(ALSOFT_CPUEXT_SSE AND ALSOFT_CPUEXT_SSE2) set(HAVE_SSE 1) set(HAVE_SSE2 1) - set(ALC_OBJS ${ALC_OBJS} alc/mixer/mixer_sse.cpp alc/mixer/mixer_sse2.cpp) + set(CORE_OBJS ${CORE_OBJS} core/mixer/mixer_sse.cpp core/mixer/mixer_sse2.cpp) if(SSE2_SWITCH) - set_source_files_properties(alc/mixer/mixer_sse.cpp alc/mixer/mixer_sse2.cpp + set_source_files_properties(core/mixer/mixer_sse.cpp core/mixer/mixer_sse2.cpp PROPERTIES COMPILE_FLAGS "${SSE2_SWITCH}") endif() set(CPU_EXTS "${CPU_EXTS}, SSE, SSE2") @@ -745,9 +745,9 @@ if(HAVE_EMMINTRIN_H) option(ALSOFT_CPUEXT_SSE3 "Enable SSE3 support" ON) if(HAVE_SSE2 AND ALSOFT_CPUEXT_SSE3) set(HAVE_SSE3 1) - set(ALC_OBJS ${ALC_OBJS} alc/mixer/mixer_sse3.cpp) + set(CORE_OBJS ${CORE_OBJS} core/mixer/mixer_sse3.cpp) if(SSE2_SWITCH) - set_source_files_properties(alc/mixer/mixer_sse3.cpp PROPERTIES + set_source_files_properties(core/mixer/mixer_sse3.cpp PROPERTIES COMPILE_FLAGS "${SSE3_SWITCH}") endif() set(CPU_EXTS "${CPU_EXTS}, SSE3") @@ -762,9 +762,9 @@ if(HAVE_SMMINTRIN_H) option(ALSOFT_CPUEXT_SSE4_1 "Enable SSE4.1 support" ON) if(HAVE_SSE3 AND ALSOFT_CPUEXT_SSE4_1) set(HAVE_SSE4_1 1) - set(ALC_OBJS ${ALC_OBJS} alc/mixer/mixer_sse41.cpp) + set(CORE_OBJS ${CORE_OBJS} core/mixer/mixer_sse41.cpp) if(SSE4_1_SWITCH) - set_source_files_properties(alc/mixer/mixer_sse41.cpp PROPERTIES + set_source_files_properties(core/mixer/mixer_sse41.cpp PROPERTIES COMPILE_FLAGS "${SSE4_1_SWITCH}") endif() set(CPU_EXTS "${CPU_EXTS}, SSE4.1") @@ -780,9 +780,9 @@ if(HAVE_ARM_NEON_H) option(ALSOFT_CPUEXT_NEON "Enable ARM Neon support" ON) if(ALSOFT_CPUEXT_NEON) set(HAVE_NEON 1) - set(ALC_OBJS ${ALC_OBJS} alc/mixer/mixer_neon.cpp) + set(CORE_OBJS ${CORE_OBJS} core/mixer/mixer_neon.cpp) if(FPU_NEON_SWITCH) - set_source_files_properties(alc/mixer/mixer_neon.cpp PROPERTIES + set_source_files_properties(core/mixer/mixer_neon.cpp PROPERTIES COMPILE_FLAGS "${FPU_NEON_SWITCH}") endif() set(CPU_EXTS "${CPU_EXTS}, Neon") diff --git a/alc/alcmain.h b/alc/alcmain.h index ef52afc7..c1432463 100644 --- a/alc/alcmain.h +++ b/alc/alcmain.h @@ -26,10 +26,10 @@ #include "core/bufferline.h" #include "core/devformat.h" #include "core/filters/splitter.h" +#include "core/mixer/defs.h" #include "hrtf.h" #include "inprogext.h" #include "intrusive_ptr.h" -#include "mixer/defs.h" #include "vector.h" class BFormatDec; diff --git a/alc/alu.cpp b/alc/alu.cpp index cd180f41..eefeca4d 100644 --- a/alc/alu.cpp +++ b/alc/alu.cpp @@ -65,6 +65,7 @@ #include "core/filters/nfc.h" #include "core/filters/splitter.h" #include "core/mastering.h" +#include "core/mixer/defs.h" #include "core/uhjfilter.h" #include "cpu_caps.h" #include "effects/base.h" @@ -73,7 +74,6 @@ #include "hrtf.h" #include "inprogext.h" #include "math_defs.h" -#include "mixer/defs.h" #include "opthelpers.h" #include "ringbuffer.h" #include "strutils.h" diff --git a/alc/converter.cpp b/alc/converter.cpp index 9a3fa2f2..342085c5 100644 --- a/alc/converter.cpp +++ b/alc/converter.cpp @@ -12,7 +12,6 @@ #include "albyte.h" #include "alnumeric.h" #include "fpu_ctrl.h" -#include "mixer/defs.h" struct CTag; struct CopyTag; diff --git a/alc/converter.h b/alc/converter.h index f84efd72..ffcfbc18 100644 --- a/alc/converter.h +++ b/alc/converter.h @@ -6,7 +6,7 @@ #include "almalloc.h" #include "core/devformat.h" -#include "mixer/defs.h" +#include "core/mixer/defs.h" using uint = unsigned int; @@ -12,8 +12,8 @@ #include "core/ambidefs.h" #include "core/bufferline.h" #include "core/filters/splitter.h" +#include "core/mixer/hrtfdefs.h" #include "intrusive_ptr.h" -#include "mixer/hrtfdefs.h" #include "vector.h" diff --git a/alc/voice.cpp b/alc/voice.cpp index a188a04d..8aa5a59f 100644 --- a/alc/voice.cpp +++ b/alc/voice.cpp @@ -50,13 +50,13 @@ #include "core/filters/biquad.h" #include "core/filters/nfc.h" #include "core/filters/splitter.h" +#include "core/mixer/defs.h" +#include "core/mixer/hrtfdefs.h" #include "cpu_caps.h" #include "fmt_traits.h" #include "hrtf.h" #include "inprogext.h" #include "logging.h" -#include "mixer/defs.h" -#include "mixer/hrtfdefs.h" #include "opthelpers.h" #include "ringbuffer.h" #include "threads.h" diff --git a/alc/voice.h b/alc/voice.h index ccffaf01..9253be72 100644 --- a/alc/voice.h +++ b/alc/voice.h @@ -11,8 +11,8 @@ #include "core/filters/biquad.h" #include "core/filters/nfc.h" #include "core/filters/splitter.h" +#include "core/mixer/defs.h" #include "hrtf.h" -#include "mixer/defs.h" struct EffectSlot; struct BufferlistItem; diff --git a/alc/mixer/defs.h b/core/mixer/defs.h index a34fba26..9dcf395f 100644 --- a/alc/mixer/defs.h +++ b/core/mixer/defs.h @@ -1,5 +1,5 @@ -#ifndef MIXER_DEFS_H -#define MIXER_DEFS_H +#ifndef CORE_MIXER_DEFS_H +#define CORE_MIXER_DEFS_H #include <array> #include <stdlib.h> @@ -97,4 +97,4 @@ inline void InitPosArrays(uint frac, uint increment, uint *frac_arr, uint *pos_a } } -#endif /* MIXER_DEFS_H */ +#endif /* CORE_MIXER_DEFS_H */ diff --git a/alc/mixer/hrtfbase.h b/core/mixer/hrtfbase.h index f25801b5..8031fe3d 100644 --- a/alc/mixer/hrtfbase.h +++ b/core/mixer/hrtfbase.h @@ -1,5 +1,5 @@ -#ifndef MIXER_HRTFBASE_H -#define MIXER_HRTFBASE_H +#ifndef CORE_MIXER_HRTFBASE_H +#define CORE_MIXER_HRTFBASE_H #include <algorithm> #include <cmath> @@ -156,4 +156,4 @@ inline void MixDirectHrtfBase(FloatBufferLine &LeftOut, FloatBufferLine &RightOu std::fill_n(accum_iter, BufferSize, float2{}); } -#endif /* MIXER_HRTFBASE_H */ +#endif /* CORE_MIXER_HRTFBASE_H */ diff --git a/alc/mixer/hrtfdefs.h b/core/mixer/hrtfdefs.h index 5f9711cf..623e6ec3 100644 --- a/alc/mixer/hrtfdefs.h +++ b/core/mixer/hrtfdefs.h @@ -1,5 +1,5 @@ -#ifndef MIXER_HRTFDEFS_H -#define MIXER_HRTFDEFS_H +#ifndef CORE_MIXER_HRTFDEFS_H +#define CORE_MIXER_HRTFDEFS_H #include <array> @@ -49,4 +49,4 @@ struct HrtfChannelState { alignas(16) HrirArray mCoeffs{}; }; -#endif /* MIXER_HRTFDEFS_H */ +#endif /* CORE_MIXER_HRTFDEFS_H */ diff --git a/alc/mixer/mixer_c.cpp b/core/mixer/mixer_c.cpp index 24ccd175..24ccd175 100644 --- a/alc/mixer/mixer_c.cpp +++ b/core/mixer/mixer_c.cpp diff --git a/alc/mixer/mixer_neon.cpp b/core/mixer/mixer_neon.cpp index af8f6b0c..af8f6b0c 100644 --- a/alc/mixer/mixer_neon.cpp +++ b/core/mixer/mixer_neon.cpp diff --git a/alc/mixer/mixer_sse.cpp b/core/mixer/mixer_sse.cpp index 85b2f1ce..85b2f1ce 100644 --- a/alc/mixer/mixer_sse.cpp +++ b/core/mixer/mixer_sse.cpp diff --git a/alc/mixer/mixer_sse2.cpp b/core/mixer/mixer_sse2.cpp index 69fac250..69fac250 100644 --- a/alc/mixer/mixer_sse2.cpp +++ b/core/mixer/mixer_sse2.cpp diff --git a/alc/mixer/mixer_sse3.cpp b/core/mixer/mixer_sse3.cpp index e69de29b..e69de29b 100644 --- a/alc/mixer/mixer_sse3.cpp +++ b/core/mixer/mixer_sse3.cpp diff --git a/alc/mixer/mixer_sse41.cpp b/core/mixer/mixer_sse41.cpp index cacc9e64..cacc9e64 100644 --- a/alc/mixer/mixer_sse41.cpp +++ b/core/mixer/mixer_sse41.cpp |