diff options
author | Chris Robinson <[email protected]> | 2012-02-23 15:25:30 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-02-23 15:25:30 -0800 |
commit | 504cdadd60a760fd144df0d64ed9eaab2118a61d (patch) | |
tree | 1380f2c0a743c5b20682426f40b6d1d79f01a17a /Alc/panning.c | |
parent | 45c10229d91ae260ae7f555be8098be7ebfb61ba (diff) |
Use an enum for the device type
Diffstat (limited to 'Alc/panning.c')
-rw-r--r-- | Alc/panning.c | 2 |
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++) |