aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alc.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-10-21 10:39:00 -0700
committerChris Robinson <[email protected]>2020-10-21 10:39:00 -0700
commitb8f5e1f4247e8a1d1ebdbe39dad6b235d6d50daa (patch)
tree32f0465fdb9a3b6e5a63c8d3e549b9b1d2e30547 /alc/alc.cpp
parenta3ea46f77385a2a489a06209d47d1fe1b911848f (diff)
Change some more macros into constexpr variables
Diffstat (limited to 'alc/alc.cpp')
-rw-r--r--alc/alc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/alc/alc.cpp b/alc/alc.cpp
index 64fddafc..6a599dda 100644
--- a/alc/alc.cpp
+++ b/alc/alc.cpp
@@ -2202,7 +2202,7 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const int *attrList)
continue;
voice->mStep = 0;
- voice->mFlags |= VOICE_IS_FADING;
+ voice->mFlags |= VoiceIsFading;
if(voice->mAmbiOrder && device->mAmbiOrder > voice->mAmbiOrder)
{
@@ -2223,7 +2223,7 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const int *attrList)
std::fill_n(chandata.mWetParams.begin(), num_sends, SendParams{});
}
- voice->mFlags |= VOICE_IS_AMBISONIC;
+ voice->mFlags |= VoiceIsAmbisonic;
}
else
{
@@ -2235,7 +2235,7 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const int *attrList)
std::fill_n(chandata.mWetParams.begin(), num_sends, SendParams{});
}
- voice->mFlags &= ~VOICE_IS_AMBISONIC;
+ voice->mFlags &= ~VoiceIsAmbisonic;
}
if(device->AvgSpeakerDist > 0.0f)