aboutsummaryrefslogtreecommitdiffstats
path: root/al/buffer.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-07-13 06:33:54 -0700
committerChris Robinson <[email protected]>2021-07-13 06:33:54 -0700
commit105abc65136bcd9ce5c281ccb408ba65e3420b9d (patch)
tree09472528a842d3d07d3f59e1484ddb8374f10661 /al/buffer.cpp
parentd998c03a2761920b1edc4f1da09a04072af83d7e (diff)
Fix returned value for AL_AMBISONIC_SCALING_SOFT buffer queries
Diffstat (limited to 'al/buffer.cpp')
-rw-r--r--al/buffer.cpp2
1 files changed, 1 insertions, 1 deletions
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))};