aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/base.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-01-16 21:45:03 -0800
committerChris Robinson <[email protected]>2023-01-16 21:45:03 -0800
commit3d00147b99d4996f322ff231a7e0e7d9aff86f60 (patch)
treeaa6dde806a0d279fad83d77dbbf4f5f8356c6ce4 /alc/backends/base.cpp
parent8e9833c7a6dfe53b570d5a021888f2a5397b4796 (diff)
Change a couple macros to constexpr variables
Diffstat (limited to 'alc/backends/base.cpp')
-rw-r--r--alc/backends/base.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/backends/base.cpp b/alc/backends/base.cpp
index 9cf5e30f..e5ad8494 100644
--- a/alc/backends/base.cpp
+++ b/alc/backends/base.cpp
@@ -68,7 +68,7 @@ ClockLatency BackendBase::getClockLatency()
void BackendBase::setDefaultWFXChannelOrder()
{
- mDevice->RealOut.ChannelIndex.fill(INVALID_CHANNEL_INDEX);
+ mDevice->RealOut.ChannelIndex.fill(InvalidChannelIndex);
switch(mDevice->FmtChans)
{
@@ -143,7 +143,7 @@ void BackendBase::setDefaultWFXChannelOrder()
void BackendBase::setDefaultChannelOrder()
{
- mDevice->RealOut.ChannelIndex.fill(INVALID_CHANNEL_INDEX);
+ mDevice->RealOut.ChannelIndex.fill(InvalidChannelIndex);
switch(mDevice->FmtChans)
{