summaryrefslogtreecommitdiffstats
path: root/Alc/mixer.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-08-15 01:24:50 -0700
committerChris Robinson <[email protected]>2012-08-15 01:24:50 -0700
commitc9e87a19a9b7ca3d82da9cba7b4064af23899149 (patch)
tree185034f111932ca25294e862feeee6fa929a07bc /Alc/mixer.c
parent3b87e29e63915000addb1e37994b30d167fcfb82 (diff)
Add cmake options to disable or require support for CPU extensions
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r--Alc/mixer.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c
index 7454ec48..10e3d4e2 100644
--- a/Alc/mixer.c
+++ b/Alc/mixer.c
@@ -41,7 +41,7 @@
DryMixerFunc SelectDirectMixer(enum Resampler Resampler)
{
-#ifdef HAVE_XMMINTRIN_H
+#ifdef HAVE_SSE
if((CPUCapFlags&CPU_CAP_SSE))
{
switch(Resampler)
@@ -57,7 +57,7 @@ DryMixerFunc SelectDirectMixer(enum Resampler Resampler)
}
}
#endif
-#ifdef HAVE_ARM_NEON_H
+#ifdef HAVE_NEON
if((CPUCapFlags&CPU_CAP_NEON))
{
switch(Resampler)
@@ -90,7 +90,7 @@ DryMixerFunc SelectDirectMixer(enum Resampler Resampler)
DryMixerFunc SelectHrtfMixer(enum Resampler Resampler)
{
-#ifdef HAVE_XMMINTRIN_H
+#ifdef HAVE_SSE
if((CPUCapFlags&CPU_CAP_SSE))
{
switch(Resampler)
@@ -106,7 +106,7 @@ DryMixerFunc SelectHrtfMixer(enum Resampler Resampler)
}
}
#endif
-#ifdef HAVE_ARM_NEON_H
+#ifdef HAVE_NEON
if((CPUCapFlags&CPU_CAP_NEON))
{
switch(Resampler)
@@ -139,7 +139,7 @@ DryMixerFunc SelectHrtfMixer(enum Resampler Resampler)
WetMixerFunc SelectSendMixer(enum Resampler Resampler)
{
-#ifdef HAVE_XMMINTRIN_H
+#ifdef HAVE_SSE
if((CPUCapFlags&CPU_CAP_SSE))
{
switch(Resampler)
@@ -155,7 +155,7 @@ WetMixerFunc SelectSendMixer(enum Resampler Resampler)
}
}
#endif
-#ifdef HAVE_ARM_NEON_H
+#ifdef HAVE_NEON
if((CPUCapFlags&CPU_CAP_NEON))
{
switch(Resampler)