channelmap: Update WAVEEX 7.1 definition to use SL/SR

Pre-Windows Vista, the WAVEFORMATEXTENSIBLE definition for 7.1 used
FLC/FRC (aka KSAUDIO_SPEAKER_7POINT1). Since then, the definition has
changed to the more conventional SL/SR (aka
KSAUDIO_SPEAKER_7POINT1_SURROUND). Let's use the more sensible
definition as the default.

See: https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/ksmedia/ns-ksmedia-waveformatextensible
This commit is contained in:
Arun Raghavan 2025-10-30 12:53:49 -07:00
parent eee0e8f22f
commit 098300373f

View file

@ -328,8 +328,8 @@ pa_channel_map* pa_channel_map_init_auto(pa_channel_map *m, unsigned channels, p
/* Fall through */ /* Fall through */
case 8: case 8:
m->map[6] = PA_CHANNEL_POSITION_FRONT_LEFT_OF_CENTER; m->map[6] = PA_CHANNEL_POSITION_SIDE_LEFT;
m->map[7] = PA_CHANNEL_POSITION_FRONT_RIGHT_OF_CENTER; m->map[7] = PA_CHANNEL_POSITION_SIDE_RIGHT;
/* Fall through */ /* Fall through */
case 6: case 6: