From 3d00147b99d4996f322ff231a7e0e7d9aff86f60 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 16 Jan 2023 21:45:03 -0800 Subject: Change a couple macros to constexpr variables --- alc/backends/base.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'alc/backends') 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) { -- cgit v1.2.3