summaryrefslogtreecommitdiffstats
path: root/Alc/panning.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-07-02 21:33:53 -0700
committerChris Robinson <[email protected]>2011-07-02 21:33:53 -0700
commitac7ca07221c0a5c06b2502baa21ea94e5b65395c (patch)
tree8d5b7d67077d26c397342f814c897e0811240750 /Alc/panning.c
parentb043390ec2ad465acc12b98acdb51909bdfdd667 (diff)
Get rid of a couple typedefs
Diffstat (limited to 'Alc/panning.c')
-rw-r--r--Alc/panning.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/panning.c b/Alc/panning.c
index 8df70f30..c3459ec1 100644
--- a/Alc/panning.c
+++ b/Alc/panning.c
@@ -32,12 +32,12 @@
#include "alu.h"
static void SetSpeakerArrangement(const char *name, ALfloat SpeakerAngle[MAXCHANNELS],
- Channel Speaker2Chan[MAXCHANNELS], ALint chans)
+ enum Channel Speaker2Chan[MAXCHANNELS], ALint chans)
{
char layout_str[256];
char *confkey, *next;
char *sep, *end;
- Channel val;
+ enum Channel val;
int i;
if(!ConfigValueExists(NULL, name))
@@ -125,7 +125,7 @@ static void SetSpeakerArrangement(const char *name, ALfloat SpeakerAngle[MAXCHAN
if(min != i)
{
ALfloat tmpf;
- Channel tmpc;
+ enum Channel tmpc;
tmpf = SpeakerAngle[i];
SpeakerAngle[i] = SpeakerAngle[min];
@@ -166,7 +166,7 @@ ALint aluCart2LUTpos(ALfloat re, ALfloat im)
ALvoid aluInitPanning(ALCdevice *Device)
{
ALfloat SpeakerAngle[MAXCHANNELS];
- Channel *Speaker2Chan;
+ enum Channel *Speaker2Chan;
ALfloat Alpha, Theta;
ALint pos;
ALuint s;