Arun Raghavan pushed to branch master at PulseAudio / pulseaudio


Commits:
09830037 by Arun Raghavan at 2025-10-30T12:56:41-07:00
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

- - - - -


1 changed file:

- src/pulse/channelmap.c


Changes:

=====================================
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:



View it on GitLab: 
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/098300373f28024fd66f4b07c5d5b95a1bdc77e2

-- 
View it on GitLab: 
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/098300373f28024fd66f4b07c5d5b95a1bdc77e2
You're receiving this email because of your account on gitlab.freedesktop.org.


Reply via email to