output/alsa: set up the ALSA channel map

This is necessary for proper multi-channel support because many ALSA
drivers do not use the channel maps from surround*.conf.

Closes https://github.com/MusicPlayerDaemon/MPD/issues/2063
This commit is contained in:
Max Kellermann
2024-06-21 16:33:27 +02:00
parent 2ce8310448
commit ac1265b9cc
5 changed files with 290 additions and 1 deletions

1
NEWS
View File

@@ -30,6 +30,7 @@ ver 0.24 (not yet released)
- nfs: support libnfs URL arguments
* input
- alsa: limit ALSA buffer time to 2 seconds
- alsa: set up a channel map
- curl: add "connect_timeout" configuration
* decoder
- ffmpeg: require FFmpeg 4.0 or later