aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alcEcho.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-05-16 23:26:39 -0700
committerChris Robinson <[email protected]>2009-05-16 23:26:39 -0700
commit7e8501123a092a19b8153f7fdeecef2e0c5f0aa2 (patch)
treeda5bd197753be2b257fa263707d144844622e707 /Alc/alcEcho.c
parentc447eeb2c77d91d11750270aaed36a2354069095 (diff)
Set some common macros in alu.h
Diffstat (limited to 'Alc/alcEcho.c')
-rw-r--r--Alc/alcEcho.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/Alc/alcEcho.c b/Alc/alcEcho.c
index f6606bfa..e518fb21 100644
--- a/Alc/alcEcho.c
+++ b/Alc/alcEcho.c
@@ -27,12 +27,7 @@
#include "alFilter.h"
#include "alAuxEffectSlot.h"
#include "alEcho.h"
-
-#ifdef HAVE_SQRTF
-#define aluSqrt(x) ((ALfloat)sqrtf((float)(x)))
-#else
-#define aluSqrt(x) ((ALfloat)sqrt((double)(x)))
-#endif
+#include "alu.h"
struct ALechoState {
ALfloat *SampleBuffer;