aboutsummaryrefslogtreecommitdiffstats
path: root/alc/panning.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-12-25 06:40:13 -0800
committerChris Robinson <[email protected]>2020-12-25 06:40:13 -0800
commit204f7d88116a3d07f45c19d9a61c676ebf8d54c6 (patch)
tree8bc61c1673430ae1c46a3489726c99ea5535fc6e /alc/panning.cpp
parent20820fd01beb265722d8521ad725c3c479800273 (diff)
Rename From2D to FromACN2D
Diffstat (limited to 'alc/panning.cpp')
-rw-r--r--alc/panning.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/panning.cpp b/alc/panning.cpp
index 456f6bef..515dbfcf 100644
--- a/alc/panning.cpp
+++ b/alc/panning.cpp
@@ -547,7 +547,7 @@ void InitPanning(ALCdevice *device, const bool hqdec=false, const bool stablize=
/* Built-in speaker decoders are always 2D. */
const size_t ambicount{Ambi2DChannelsFromOrder(decoder.mOrder)};
- std::transform(AmbiIndex::From2D.begin(), AmbiIndex::From2D.begin()+ambicount,
+ std::transform(AmbiIndex::FromACN2D.begin(), AmbiIndex::FromACN2D.begin()+ambicount,
std::begin(device->Dry.AmbiMap),
[](const uint8_t &index) noexcept { return BFChannelConfig{1.0f, index}; }
);
@@ -611,7 +611,7 @@ void InitCustomPanning(ALCdevice *device, const bool hqdec, const bool stablize,
else
{
count = Ambi2DChannelsFromOrder(order);
- std::transform(AmbiIndex::From2D.begin(), AmbiIndex::From2D.begin()+count,
+ std::transform(AmbiIndex::FromACN2D.begin(), AmbiIndex::FromACN2D.begin()+count,
std::begin(device->Dry.AmbiMap),
[](const uint8_t &index) noexcept { return BFChannelConfig{1.0f, index}; }
);