diff options
author | Steven Newbury <steve@snewbury.org.uk> | 2014-10-16 23:06:27 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-10-25 01:08:09 +0200 |
commit | 76f277eeb471285aa6893480599512952e12d385 (patch) | |
tree | e92505d81b8db3a04319450463a90cb1507c73a3 /src/IOThread.cxx | |
parent | 4000390dcdbbc07973c9686fb29c2130a3aebd4c (diff) | |
download | mpd-76f277eeb471285aa6893480599512952e12d385.tar.gz mpd-76f277eeb471285aa6893480599512952e12d385.tar.xz mpd-76f277eeb471285aa6893480599512952e12d385.zip |
Set pulseaudio channel map to WAVE-EX
Pulseaudio expects clients to specify their channel-map if the
default (ALSA) map does not route the audio to the expected speakers.
Many Google results suggest dealing with this by re-routing the audio
channels with the appropriate ALSA plugin, but this will then simply
break any clients which expect the default ALSA mapping.
Virtually all media files and codecs, certainly flac, dca, a52, and of
course anything based on Microsoft's WAVEFORMAT_EXTENSIBLE specification,
assume the layout in the table here:
http://en.wikipedia.org/wiki/Surround_sound#Standard_speaker_channels
Fortunately, pulseaudio directly addresses this with a built-in channel
map for WAVE-EX which can be set automatically in the stream sample-spec.
Diffstat (limited to 'src/IOThread.cxx')
0 files changed, 0 insertions, 0 deletions