Use the 2D channel orders for 2- and 3-channel UHJ
This commit is contained in:
parent
0977627ca6
commit
604bf609d0
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user