From 105abc65136bcd9ce5c281ccb408ba65e3420b9d Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 13 Jul 2021 06:33:54 -0700 Subject: Fix returned value for AL_AMBISONIC_SCALING_SOFT buffer queries --- al/buffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'al/buffer.cpp') diff --git a/al/buffer.cpp b/al/buffer.cpp index e9c1f76b..4efb2b9f 100644 --- a/al/buffer.cpp +++ b/al/buffer.cpp @@ -316,7 +316,7 @@ ALenum EnumFromAmbiScaling(AmbiScaling scale) { case AmbiScaling::FuMa: return AL_FUMA_SOFT; case AmbiScaling::SN3D: return AL_SN3D_SOFT; - case AmbiScaling::N3D: return AL_SN3D_SOFT; + case AmbiScaling::N3D: return AL_N3D_SOFT; case AmbiScaling::UHJ: break; } throw std::runtime_error{"Invalid AmbiScaling: "+std::to_string(int(scale))}; -- cgit v1.2.3