From 098300373f28024fd66f4b07c5d5b95a1bdc77e2 Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Thu, 30 Oct 2025 12:53:49 -0700 Subject: [PATCH] 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 --- src/pulse/channelmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pulse/channelmap.c b/src/pulse/channelmap.c index 8976072a4..d9fce224f 100644 --- a/src/pulse/channelmap.c +++ b/src/pulse/channelmap.c @@ -328,8 +328,8 @@ pa_channel_map* pa_channel_map_init_auto(pa_channel_map *m, unsigned channels, p /* Fall through */ case 8: - m->map[6] = PA_CHANNEL_POSITION_FRONT_LEFT_OF_CENTER; - m->map[7] = PA_CHANNEL_POSITION_FRONT_RIGHT_OF_CENTER; + m->map[6] = PA_CHANNEL_POSITION_SIDE_LEFT; + m->map[7] = PA_CHANNEL_POSITION_SIDE_RIGHT; /* Fall through */ case 6: