diff options
author | Chris Robinson <[email protected]> | 2018-03-22 05:06:15 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-03-22 05:06:15 -0700 |
commit | 091e676db34ff51a709427d5b1203bfcd0788fb4 (patch) | |
tree | 6d67621e71b1290cdf3241a949f45f0e9915ab0e | |
parent | 6ad171781a8e2270f598263149356385cc06d8f9 (diff) |
Move mixer sources into a sub-directory
-rw-r--r-- | Alc/ALu.c | 2 | ||||
-rw-r--r-- | Alc/bformatdec.c | 1 | ||||
-rw-r--r-- | Alc/converter.c | 2 | ||||
-rw-r--r-- | Alc/effects/reverb.c | 1 | ||||
-rw-r--r-- | Alc/mixer/defs.h (renamed from Alc/mixer_defs.h) | 0 | ||||
-rw-r--r-- | Alc/mixer/mixer_c.c (renamed from Alc/mixer_c.c) | 1 | ||||
-rw-r--r-- | Alc/mixer/mixer_inc.c (renamed from Alc/mixer_inc.c) | 2 | ||||
-rw-r--r-- | Alc/mixer/mixer_neon.c (renamed from Alc/mixer_neon.c) | 2 | ||||
-rw-r--r-- | Alc/mixer/mixer_sse.c (renamed from Alc/mixer_sse.c) | 2 | ||||
-rw-r--r-- | Alc/mixer/mixer_sse2.c (renamed from Alc/mixer_sse2.c) | 2 | ||||
-rw-r--r-- | Alc/mixer/mixer_sse3.c (renamed from Alc/mixer_sse3.c) | 0 | ||||
-rw-r--r-- | Alc/mixer/mixer_sse41.c (renamed from Alc/mixer_sse41.c) | 2 | ||||
-rw-r--r-- | Alc/mixvoice.c (renamed from Alc/mixer.c) | 2 | ||||
-rw-r--r-- | CMakeLists.txt | 24 |
14 files changed, 21 insertions, 22 deletions
@@ -40,9 +40,9 @@ #include "static_assert.h" #include "ringbuffer.h" +#include "mixer/defs.h" #include "fpu_modes.h" #include "cpu_caps.h" -#include "mixer_defs.h" #include "bsinc_inc.h" #include "backends/base.h" diff --git a/Alc/bformatdec.c b/Alc/bformatdec.c index 28dbc742..ff0cd657 100644 --- a/Alc/bformatdec.c +++ b/Alc/bformatdec.c @@ -3,7 +3,6 @@ #include "bformatdec.h" #include "ambdec.h" -#include "mixer_defs.h" #include "alu.h" #include "bool.h" diff --git a/Alc/converter.c b/Alc/converter.c index 157073f2..6e28b4a6 100644 --- a/Alc/converter.c +++ b/Alc/converter.c @@ -4,7 +4,7 @@ #include "converter.h" #include "fpu_modes.h" -#include "mixer_defs.h" +#include "mixer/defs.h" SampleConverter *CreateSampleConverter(enum DevFmtType srcType, enum DevFmtType dstType, ALsizei numchans, ALsizei srcRate, ALsizei dstRate) diff --git a/Alc/effects/reverb.c b/Alc/effects/reverb.c index bd5553ad..ff1ee143 100644 --- a/Alc/effects/reverb.c +++ b/Alc/effects/reverb.c @@ -31,7 +31,6 @@ #include "alFilter.h" #include "alListener.h" #include "alError.h" -#include "mixer_defs.h" /* This is a user config option for modifying the overall output of the reverb * effect. diff --git a/Alc/mixer_defs.h b/Alc/mixer/defs.h index fe19cef4..fe19cef4 100644 --- a/Alc/mixer_defs.h +++ b/Alc/mixer/defs.h diff --git a/Alc/mixer_c.c b/Alc/mixer/mixer_c.c index 2346080a..0c33e9b0 100644 --- a/Alc/mixer_c.c +++ b/Alc/mixer/mixer_c.c @@ -6,6 +6,7 @@ #include "alu.h" #include "alSource.h" #include "alAuxEffectSlot.h" +#include "defs.h" static inline ALfloat do_point(const ALfloat *restrict vals, ALsizei UNUSED(frac)) diff --git a/Alc/mixer_inc.c b/Alc/mixer/mixer_inc.c index 3c9d4dc5..ad0daa63 100644 --- a/Alc/mixer_inc.c +++ b/Alc/mixer/mixer_inc.c @@ -4,9 +4,9 @@ #include "alSource.h" #include "hrtf.h" -#include "mixer_defs.h" #include "align.h" #include "alu.h" +#include "defs.h" static inline void ApplyCoeffs(ALsizei Offset, ALfloat (*restrict Values)[2], diff --git a/Alc/mixer_neon.c b/Alc/mixer/mixer_neon.c index 631e4f7c..b93d11fd 100644 --- a/Alc/mixer_neon.c +++ b/Alc/mixer/mixer_neon.c @@ -7,7 +7,7 @@ #include "alMain.h" #include "alu.h" #include "hrtf.h" -#include "mixer_defs.h" +#include "defs.h" const ALfloat *Resample_lerp_Neon(const InterpState* UNUSED(state), diff --git a/Alc/mixer_sse.c b/Alc/mixer/mixer_sse.c index 281b6f85..288661b2 100644 --- a/Alc/mixer_sse.c +++ b/Alc/mixer/mixer_sse.c @@ -9,7 +9,7 @@ #include "alSource.h" #include "alAuxEffectSlot.h" -#include "mixer_defs.h" +#include "defs.h" const ALfloat *Resample_bsinc_SSE(const InterpState *state, const ALfloat *restrict src, diff --git a/Alc/mixer_sse2.c b/Alc/mixer/mixer_sse2.c index 3f8224e7..19d07719 100644 --- a/Alc/mixer_sse2.c +++ b/Alc/mixer/mixer_sse2.c @@ -24,7 +24,7 @@ #include <emmintrin.h> #include "alu.h" -#include "mixer_defs.h" +#include "defs.h" const ALfloat *Resample_lerp_SSE2(const InterpState* UNUSED(state), diff --git a/Alc/mixer_sse3.c b/Alc/mixer/mixer_sse3.c index e69de29b..e69de29b 100644 --- a/Alc/mixer_sse3.c +++ b/Alc/mixer/mixer_sse3.c diff --git a/Alc/mixer_sse41.c b/Alc/mixer/mixer_sse41.c index 4f88d540..85fd0f5e 100644 --- a/Alc/mixer_sse41.c +++ b/Alc/mixer/mixer_sse41.c @@ -25,7 +25,7 @@ #include <smmintrin.h> #include "alu.h" -#include "mixer_defs.h" +#include "defs.h" const ALfloat *Resample_lerp_SSE41(const InterpState* UNUSED(state), diff --git a/Alc/mixer.c b/Alc/mixvoice.c index 7a7bbfe0..0e039115 100644 --- a/Alc/mixer.c +++ b/Alc/mixvoice.c @@ -39,7 +39,7 @@ #include "ringbuffer.h" #include "cpu_caps.h" -#include "mixer_defs.h" +#include "mixer/defs.h" static_assert((INT_MAX>>FRACTIONBITS)/MAX_PITCH > BUFFERSIZE, diff --git a/CMakeLists.txt b/CMakeLists.txt index 986a6c32..646a437c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -735,8 +735,8 @@ SET(ALC_OBJS Alc/ALc.c Alc/bformatdec.c Alc/nfcfilter.c Alc/panning.c - Alc/mixer.c - Alc/mixer_c.c + Alc/mixvoice.c + Alc/mixer/mixer_c.c ) @@ -770,9 +770,9 @@ IF(HAVE_XMMINTRIN_H) IF(ALSOFT_CPUEXT_SSE) IF(ALIGN_DECL OR HAVE_C11_ALIGNAS) SET(HAVE_SSE 1) - SET(ALC_OBJS ${ALC_OBJS} Alc/mixer_sse.c) + SET(ALC_OBJS ${ALC_OBJS} Alc/mixer/mixer_sse.c) IF(SSE_SWITCH) - SET_SOURCE_FILES_PROPERTIES(Alc/mixer_sse.c PROPERTIES + SET_SOURCE_FILES_PROPERTIES(Alc/mixer/mixer_sse.c PROPERTIES COMPILE_FLAGS "${SSE_SWITCH}") ENDIF() SET(CPU_EXTS "${CPU_EXTS}, SSE") @@ -790,9 +790,9 @@ IF(HAVE_EMMINTRIN_H) IF(HAVE_SSE AND ALSOFT_CPUEXT_SSE2) IF(ALIGN_DECL OR HAVE_C11_ALIGNAS) SET(HAVE_SSE2 1) - SET(ALC_OBJS ${ALC_OBJS} Alc/mixer_sse2.c) + SET(ALC_OBJS ${ALC_OBJS} Alc/mixer/mixer_sse2.c) IF(SSE2_SWITCH) - SET_SOURCE_FILES_PROPERTIES(Alc/mixer_sse2.c PROPERTIES + SET_SOURCE_FILES_PROPERTIES(Alc/mixer/mixer_sse2.c PROPERTIES COMPILE_FLAGS "${SSE2_SWITCH}") ENDIF() SET(CPU_EXTS "${CPU_EXTS}, SSE2") @@ -810,9 +810,9 @@ IF(HAVE_EMMINTRIN_H) IF(HAVE_SSE2 AND ALSOFT_CPUEXT_SSE3) IF(ALIGN_DECL OR HAVE_C11_ALIGNAS) SET(HAVE_SSE3 1) - SET(ALC_OBJS ${ALC_OBJS} Alc/mixer_sse3.c) + SET(ALC_OBJS ${ALC_OBJS} Alc/mixer/mixer_sse3.c) IF(SSE2_SWITCH) - SET_SOURCE_FILES_PROPERTIES(Alc/mixer_sse3.c PROPERTIES + SET_SOURCE_FILES_PROPERTIES(Alc/mixer/mixer_sse3.c PROPERTIES COMPILE_FLAGS "${SSE3_SWITCH}") ENDIF() SET(CPU_EXTS "${CPU_EXTS}, SSE3") @@ -830,9 +830,9 @@ IF(HAVE_SMMINTRIN_H) IF(HAVE_SSE2 AND ALSOFT_CPUEXT_SSE4_1) IF(ALIGN_DECL OR HAVE_C11_ALIGNAS) SET(HAVE_SSE4_1 1) - SET(ALC_OBJS ${ALC_OBJS} Alc/mixer_sse41.c) + SET(ALC_OBJS ${ALC_OBJS} Alc/mixer/mixer_sse41.c) IF(SSE4_1_SWITCH) - SET_SOURCE_FILES_PROPERTIES(Alc/mixer_sse41.c PROPERTIES + SET_SOURCE_FILES_PROPERTIES(Alc/mixer/mixer_sse41.c PROPERTIES COMPILE_FLAGS "${SSE4_1_SWITCH}") ENDIF() SET(CPU_EXTS "${CPU_EXTS}, SSE4.1") @@ -850,9 +850,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_neon.c) + SET(ALC_OBJS ${ALC_OBJS} Alc/mixer/mixer_neon.c) IF(FPU_NEON_SWITCH) - SET_SOURCE_FILES_PROPERTIES(Alc/mixer_neon.c PROPERTIES + SET_SOURCE_FILES_PROPERTIES(Alc/mixer/mixer_neon.c PROPERTIES COMPILE_FLAGS "${FPU_NEON_SWITCH}") ENDIF() SET(CPU_EXTS "${CPU_EXTS}, Neon") |