mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-09 02:17:17 +02:00
pa_channel_map_init_auto() with PA_CHANNEL_MAP_WAVEEX does the wrong thing as it just takes the lest significant bits of WAVEFORMATEXTENSIBLE's dwChannelMask in order. This doesn't match SDL's chosen channel ordering. The implementation here mirrors what we do for PipeWire.