From 20f5e7c1fafcd40cdee2f7226ae81480ae049d1a Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 21 Jan 2021 02:05:55 -0800 Subject: Avoid global constexpr arrays --- alc/alc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'alc/alc.cpp') diff --git a/alc/alc.cpp b/alc/alc.cpp index 8cd902ed..2b9eb2df 100644 --- a/alc/alc.cpp +++ b/alc/alc.cpp @@ -2212,8 +2212,8 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const int *attrList) if(voice->mAmbiOrder && device->mAmbiOrder > voice->mAmbiOrder) { const uint8_t *OrderFromChan{(voice->mFmtChannels == FmtBFormat2D) ? - AmbiIndex::OrderFrom2DChannel.data() : - AmbiIndex::OrderFromChannel.data()}; + AmbiIndex::OrderFrom2DChannel().data() : + AmbiIndex::OrderFromChannel().data()}; const BandSplitter splitter{device->mXOverFreq / static_cast(device->Frequency)}; -- cgit v1.2.3