diff options
author | Chris Robinson <[email protected]> | 2021-07-13 06:31:13 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2021-07-13 06:31:13 -0700 |
commit | d998c03a2761920b1edc4f1da09a04072af83d7e (patch) | |
tree | ede3bda406061fe8b47072b3d459b0ead2e879e8 /al/source.cpp | |
parent | fb2cb2bd064c681defda5f1019faa5189ec3bb34 (diff) |
Add a UHJ-specific coefficient scaling array
Diffstat (limited to 'al/source.cpp')
-rw-r--r-- | al/source.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/al/source.cpp b/al/source.cpp index b8278fed..ef70a86d 100644 --- a/al/source.cpp +++ b/al/source.cpp @@ -499,7 +499,7 @@ void InitVoice(Voice *voice, ALsource *source, ALbufferQueueItem *BufferList, AL voice->mAmbiLayout = (buffer->mChannels == FmtUHJ2 || buffer->mChannels == FmtUHJ3 || voice->mFmtChannels == FmtUHJ4) ? AmbiLayout::FuMa : buffer->mAmbiLayout; voice->mAmbiScaling = (buffer->mChannels == FmtUHJ2 || buffer->mChannels == FmtUHJ3 - || voice->mFmtChannels == FmtUHJ4) ? AmbiScaling::FuMa : buffer->mAmbiScaling; + || voice->mFmtChannels == FmtUHJ4) ? AmbiScaling::UHJ : buffer->mAmbiScaling; voice->mAmbiOrder = buffer->mAmbiOrder; if(buffer->mCallback) voice->mFlags |= VoiceIsCallback; |