aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/bformatdec.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-12-20 02:46:59 -0800
committerChris Robinson <[email protected]>2018-12-20 02:46:59 -0800
commitd18140391ae6a33775493c0ffad309085992ac54 (patch)
treedb86cd1fea44e55eac98d86a5c25667399a36c7c /Alc/bformatdec.cpp
parent0214a1102497003df07f354adc1e77d2b3185953 (diff)
Rename some conversion arrays
Diffstat (limited to 'Alc/bformatdec.cpp')
-rw-r--r--Alc/bformatdec.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/bformatdec.cpp b/Alc/bformatdec.cpp
index 2be6eae8..aeaa89a0 100644
--- a/Alc/bformatdec.cpp
+++ b/Alc/bformatdec.cpp
@@ -53,9 +53,9 @@ constexpr ALfloat Ambi3DDecoderHFScale[MAX_AMBI_COEFFS] = {
auto GetAmbiScales(AmbDecScale scaletype) noexcept -> const float(&)[MAX_AMBI_COEFFS]
{
- if(scaletype == AmbDecScale::FuMa) return AmbiScale::FuMa2N3D;
- if(scaletype == AmbDecScale::SN3D) return AmbiScale::SN3D2N3D;
- return AmbiScale::N3D2N3D;
+ if(scaletype == AmbDecScale::FuMa) return AmbiScale::FromFuMa;
+ if(scaletype == AmbDecScale::SN3D) return AmbiScale::FromSN3D;
+ return AmbiScale::FromN3D;
}
} // namespace