aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alc.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-12-25 20:52:18 -0800
committerChris Robinson <[email protected]>2020-12-25 20:52:18 -0800
commit5f233a2c24de58fde98e08ad8acb6cfe1803d716 (patch)
treea62086d205cfa4d66719dd2d4b42eac7563ded39 /alc/alc.cpp
parent223f93e13d2a36375fa71251a2e565799cc2ab3e (diff)
Use more constexpr variables instead of macros
Diffstat (limited to 'alc/alc.cpp')
-rw-r--r--alc/alc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/alc.cpp b/alc/alc.cpp
index 1b06b57f..d42d055b 100644
--- a/alc/alc.cpp
+++ b/alc/alc.cpp
@@ -1996,7 +1996,7 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const int *attrList)
if(device->Uhj_Encoder)
sample_delay += Uhj2Encoder::sFilterSize;
if(device->mHrtfState)
- sample_delay += HRTF_DIRECT_DELAY;
+ sample_delay += HrtfDirectDelay;
if(auto *ambidec = device->AmbiDecoder.get())
{
if(ambidec->hasStablizer())