aboutsummaryrefslogtreecommitdiffstats
path: root/al/buffer.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-07-13 06:31:13 -0700
committerChris Robinson <[email protected]>2021-07-13 06:31:13 -0700
commitd998c03a2761920b1edc4f1da09a04072af83d7e (patch)
treeede3bda406061fe8b47072b3d459b0ead2e879e8 /al/buffer.cpp
parentfb2cb2bd064c681defda5f1019faa5189ec3bb34 (diff)
Add a UHJ-specific coefficient scaling array
Diffstat (limited to 'al/buffer.cpp')
-rw-r--r--al/buffer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/al/buffer.cpp b/al/buffer.cpp
index 26fe863e..e9c1f76b 100644
--- a/al/buffer.cpp
+++ b/al/buffer.cpp
@@ -317,6 +317,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::UHJ: break;
}
throw std::runtime_error{"Invalid AmbiScaling: "+std::to_string(int(scale))};
}