diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/voice.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/voice.cpp b/core/voice.cpp index 261e9a79..ea99f8ad 100644 --- a/core/voice.cpp +++ b/core/voice.cpp @@ -830,7 +830,8 @@ void Voice::prepare(DeviceBase *device) */ if(mAmbiOrder && device->mAmbiOrder > mAmbiOrder) { - const uint8_t *OrderFromChan{(mFmtChannels == FmtBFormat2D) ? + const uint8_t *OrderFromChan{(mFmtChannels == FmtBFormat2D + || mFmtChannels == FmtUHJ2 || mFmtChannels == FmtUHJ3) ? AmbiIndex::OrderFrom2DChannel().data() : AmbiIndex::OrderFromChannel().data()}; const auto scales = AmbiScale::GetHFOrderScales(mAmbiOrder, device->mAmbiOrder); |