aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/panning.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-02-23 15:25:30 -0800
committerChris Robinson <[email protected]>2012-02-23 15:25:30 -0800
commit504cdadd60a760fd144df0d64ed9eaab2118a61d (patch)
tree1380f2c0a743c5b20682426f40b6d1d79f01a17a /Alc/panning.c
parent45c10229d91ae260ae7f555be8098be7ebfb61ba (diff)
Use an enum for the device type
Diffstat (limited to 'Alc/panning.c')
-rw-r--r--Alc/panning.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/panning.c b/Alc/panning.c
index 4c7737f6..fa24be80 100644
--- a/Alc/panning.c
+++ b/Alc/panning.c
@@ -271,7 +271,7 @@ ALvoid aluInitPanning(ALCdevice *Device)
layoutname = "layout_71CHN";
break;
}
- if(layoutname && !Device->IsLoopbackDevice)
+ if(layoutname && Device->Type != Loopback)
SetSpeakerArrangement(layoutname, SpeakerAngle, Speaker2Chan, Device->NumChan);
for(pos = 0; pos < LUT_NUM; pos++)