From 504cdadd60a760fd144df0d64ed9eaab2118a61d Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 23 Feb 2012 15:25:30 -0800 Subject: Use an enum for the device type --- Alc/panning.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/panning.c') 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++) -- cgit v1.2.3