summaryrefslogtreecommitdiff
path: root/src/pulse
diff options
context:
space:
mode:
authorEdward Lee <e45lee@uwaterloo.ca>2020-08-29 23:08:09 -0400
committerEdward Lee <e45lee@uwaterloo.ca>2021-03-23 13:12:38 -0400
commit169f8c5f2cf5d2aec735843d17818968ab7ebb2a (patch)
treebe0ef8ee9b4070f1769bd6370d6d2e7ee50e72b6 /src/pulse
parente12ba8eaeeec7cf6f907f81961f932d0abd240d7 (diff)
downloadpulseaudio-169f8c5f2cf5d2aec735843d17818968ab7ebb2a.tar.gz
Win32: Use WAVEFORMATEX for multi-channel audio output on Windows.
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/359>
Diffstat (limited to 'src/pulse')
-rw-r--r--src/pulse/channelmap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pulse/channelmap.c b/src/pulse/channelmap.c
index c44dca411..6308ab55e 100644
--- a/src/pulse/channelmap.c
+++ b/src/pulse/channelmap.c
@@ -296,8 +296,7 @@ pa_channel_map* pa_channel_map_init_auto(pa_channel_map *m, unsigned channels, p
case PA_CHANNEL_MAP_WAVEEX:
- /* Following http://www.microsoft.com/whdc/device/audio/multichaud.mspx#EKLAC */
-
+ /* following: https://docs.microsoft.com/en-us/previous-versions/windows/hardware/design/dn653308(v=vs.85) */
switch (channels) {
case 1:
m->map[0] = PA_CHANNEL_POSITION_MONO;