mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
Win32: Use WAVEFORMATEX for multi-channel audio output on Windows.
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/359>
This commit is contained in:
parent
e12ba8eaee
commit
169f8c5f2c
2 changed files with 91 additions and 26 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue