• Jan Ekström's avatar
    swresample/rematrix: handle 22.2 as a 9 channel layout · 1c7e55dd
    Jan Ekström authored
    This is as far as 22.2 follows the same channel order as
    WaveFormatExtensible's channel mask (and the AV_CH_* defines).
    
    After LFE2 the side channels would follow, but that offset of
    one stops us from utilizing them without further tweaks.
    
    This change was verified by using swresample to downmix to 5.1,
    and then feeding that to WASAPI.
    1c7e55dd
rematrix.c 23.3 KB