diff options
author | Chris Robinson <[email protected]> | 2023-01-16 21:45:03 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-01-16 21:45:03 -0800 |
commit | 3d00147b99d4996f322ff231a7e0e7d9aff86f60 (patch) | |
tree | aa6dde806a0d279fad83d77dbbf4f5f8356c6ce4 /alc/backends/base.cpp | |
parent | 8e9833c7a6dfe53b570d5a021888f2a5397b4796 (diff) |
Change a couple macros to constexpr variables
Diffstat (limited to 'alc/backends/base.cpp')
-rw-r--r-- | alc/backends/base.cpp | 4 |
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) { |