diff options
author | Chris Robinson <[email protected]> | 2022-04-16 03:53:54 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-04-16 03:53:54 -0700 |
commit | adccf0aec935ff9b30e57aa8f4a1eb006beb92c2 (patch) | |
tree | e22eb24966d515caefffc7135a9fb35dcb90858d /alc/alc.cpp | |
parent | 4bfaf860bfc2575c7dcfa5192902bfef35a36234 (diff) |
Use a bool type for boolean parameters
Diffstat (limited to 'alc/alc.cpp')
-rw-r--r-- | alc/alc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/alc.cpp b/alc/alc.cpp index ee89b60a..50cda827 100644 --- a/alc/alc.cpp +++ b/alc/alc.cpp @@ -2102,7 +2102,7 @@ ALCenum UpdateDeviceParams(ALCdevice *device, const int *attrList) sample_delay += FrontStablizer::DelayLength; } - if(device->getConfigValueBool(nullptr, "dither", 1)) + if(device->getConfigValueBool(nullptr, "dither", true)) { int depth{device->configValue<int>(nullptr, "dither-depth").value_or(0)}; if(depth <= 0) |