aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alc.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-01-21 02:05:55 -0800
committerChris Robinson <[email protected]>2021-01-21 04:03:30 -0800
commit20f5e7c1fafcd40cdee2f7226ae81480ae049d1a (patch)
tree3b7e1aef92cefcbea1b9fca7f472d4831c0322cb /alc/alc.cpp
parent92c653e5f0617befccf0bd44d035f821ec7cb1ba (diff)
Avoid global constexpr arrays
Diffstat (limited to 'alc/alc.cpp')
-rw-r--r--alc/alc.cpp4
1 files changed, 2 insertions, 2 deletions
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<float>(device->Frequency)};