aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALu.c14
-rw-r--r--Alc/alcReverb.c15
2 files changed, 0 insertions, 29 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 546da2c7..8f3056b9 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -399,20 +399,6 @@ ALvoid aluInitPanning(ALCcontext *Context)
}
}
-static __inline ALint aluCart2LUTpos(ALfloat re, ALfloat im)
-{
- ALint pos = 0;
- ALfloat denom = aluFabs(re) + aluFabs(im);
- if(denom > 0.0f)
- pos = (ALint)(QUADRANT_NUM*aluFabs(im) / denom + 0.5);
-
- if(re < 0.0)
- pos = 2 * QUADRANT_NUM - pos;
- if(im < 0.0)
- pos = LUT_NUM - pos;
- return pos%LUT_NUM;
-}
-
static ALvoid CalcSourceParams(const ALCcontext *ALContext, ALsource *ALSource,
ALboolean isMono)
{
diff --git a/Alc/alcReverb.c b/Alc/alcReverb.c
index 2cfe341e..202e20ae 100644
--- a/Alc/alcReverb.c
+++ b/Alc/alcReverb.c
@@ -393,21 +393,6 @@ ALvoid VerbDestroy(ALeffectState *effect)
}
}
-// NOTE: Temp, remove later.
-static __inline ALint aluCart2LUTpos(ALfloat re, ALfloat im)
-{
- ALint pos = 0;
- ALfloat denom = aluFabs(re) + aluFabs(im);
- if(denom > 0.0f)
- pos = (ALint)(QUADRANT_NUM*aluFabs(im) / denom + 0.5);
-
- if(re < 0.0)
- pos = 2 * QUADRANT_NUM - pos;
- if(im < 0.0)
- pos = LUT_NUM - pos;
- return pos%LUT_NUM;
-}
-
// This updates the device-dependant reverb state. This is called on
// initialization and any time the device parameters (eg. playback frequency,
// format) have been changed.