aboutsummaryrefslogtreecommitdiffstats
path: root/alc/panning.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-03-28 15:37:34 -0700
committerChris Robinson <[email protected]>2020-03-28 18:15:05 -0700
commitf1f9a1417206e6097005c6088b65d56cb4e15429 (patch)
tree5ca1ad3fc79bfb1789ff0d0d9a28a2cebca845ef /alc/panning.cpp
parent504745abec35c4718833cd7c7ed8db3b242e0aa2 (diff)
Avoid AL[C]boolean for internal use
Diffstat (limited to 'alc/panning.cpp')
-rw-r--r--alc/panning.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/panning.cpp b/alc/panning.cpp
index 0b7b5038..13fdac6d 100644
--- a/alc/panning.cpp
+++ b/alc/panning.cpp
@@ -746,7 +746,7 @@ void aluInitRenderer(ALCdevice *device, ALint hrtf_id, HrtfRequestMode hrtf_appr
return;
}
- bool headphones{device->IsHeadphones != AL_FALSE};
+ bool headphones{device->IsHeadphones};
if(device->Type != Loopback)
{
if(auto modeopt = ConfigValueStr(device->DeviceName.c_str(), nullptr, "stereo-mode"))