aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-04-29 05:04:46 -0700
committerChris Robinson <[email protected]>2012-04-29 05:04:46 -0700
commitaed35fd811f7aa5f1a9d2edb499e43d490ede96e (patch)
tree4c7cb8ae07dcb21975538a0a042d96b5e6d0f427 /OpenAL32
parent8d9838012d5d073cf0bcdc917634b69e77fbaf71 (diff)
Use ComputeAngleGains for multi-channel sources and remove the unused lookup table stuff
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alMain.h1
-rw-r--r--OpenAL32/Include/alu.h4
2 files changed, 0 insertions, 5 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 54fbcdf5..76a0bfbc 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -579,7 +579,6 @@ struct ALCdevice_struct
enum Channel Speaker2Chan[MAXCHANNELS];
ALfloat SpeakerAngle[MAXCHANNELS];
- ALfloat PanningLUT[LUT_NUM][MAXCHANNELS];
ALuint NumChan;
ALfloat ClickRemoval[MAXCHANNELS];
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h
index ff5601e5..ccc18746 100644
--- a/OpenAL32/Include/alu.h
+++ b/OpenAL32/Include/alu.h
@@ -110,9 +110,6 @@ _CRTIMP unsigned int __cdecl __MINGW_NOTHROW _controlfp (unsigned int unNew, uns
#define aluFloor(x) ((ALfloat)floor((double)(x)))
#endif
-#define QUADRANT_NUM 128
-#define LUT_NUM (4 * QUADRANT_NUM)
-
#ifdef __cplusplus
extern "C" {
#endif
@@ -296,7 +293,6 @@ static __inline void aluNormalize(ALfloat *inVector)
ALvoid aluInitPanning(ALCdevice *Device);
-ALint aluCart2LUTpos(ALfloat im, ALfloat re);
ALvoid ComputeAngleGains(const ALCdevice *device, ALfloat angle, ALfloat hwidth, ALfloat ingain, ALfloat *gains);