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/alc.cpp | |
parent | 8e9833c7a6dfe53b570d5a021888f2a5397b4796 (diff) |
Change a couple macros to constexpr variables
Diffstat (limited to 'alc/alc.cpp')
-rw-r--r-- | alc/alc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/alc.cpp b/alc/alc.cpp index bf428e07..3d807284 100644 --- a/alc/alc.cpp +++ b/alc/alc.cpp @@ -2003,7 +2003,7 @@ ALCenum UpdateDeviceParams(ALCdevice *device, const int *attrList) device->Dry.Buffer = {}; std::fill(std::begin(device->NumChannelsPerOrder), std::end(device->NumChannelsPerOrder), 0u); device->RealOut.RemixMap = {}; - device->RealOut.ChannelIndex.fill(INVALID_CHANNEL_INDEX); + device->RealOut.ChannelIndex.fill(InvalidChannelIndex); device->RealOut.Buffer = {}; device->MixBuffer.clear(); device->MixBuffer.shrink_to_fit(); |