1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-22 06:42:03 +00:00

audio: don't downmix when doing digital passthrough

This obviously doesn't work. It wasn't much of a problem in the past
because most passthrough formats use 2 channels, which is also the
default for downmix.
This commit is contained in:
wm4 2014-03-10 02:14:51 +01:00
parent 249789c256
commit b0b0e69570

View File

@ -143,6 +143,7 @@ void reinit_audio_chain(struct MPContext *mpctx)
ao_format = out_format.format;
ao_channels = out_format.channels;
} else {
if (!AF_FORMAT_IS_SPECIAL(in_format.format))
ao_channels = opts->audio_output_channels; // automatic downmix
}