diff options
Diffstat (limited to 'Alc/panning.c')
-rw-r--r-- | Alc/panning.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Alc/panning.c b/Alc/panning.c index ab827ec1..3d82f9fe 100644 --- a/Alc/panning.c +++ b/Alc/panning.c @@ -166,14 +166,15 @@ ALint aluCart2LUTpos(ALfloat re, ALfloat im) ALvoid aluInitPanning(ALCdevice *Device) { - ALfloat SpeakerAngle[MAXCHANNELS]; const char *layoutname = NULL; enum Channel *Speaker2Chan; + ALfloat *SpeakerAngle; ALfloat Alpha, Theta; ALint pos; ALuint s; Speaker2Chan = Device->Speaker2Chan; + SpeakerAngle = Device->SpeakerAngle; switch(Device->FmtChans) { case DevFmtMono: |