aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 3eda6edb..e5ec2e1b 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -235,7 +235,8 @@ ALvoid aluInitPanning(ALCdevice *Device)
ALfloat maxout;
ALuint s, s2;
- Device->NumChan = 8;
+ /* Exclude LFE */
+ Device->NumChan = OUTPUTCHANNELS - 1;
Speaker2Chan[0] = BACK_LEFT;
Speaker2Chan[1] = SIDE_LEFT;
Speaker2Chan[2] = FRONT_LEFT;