diff options
author | wm4 <wm4@nowhere> | 2014-12-15 17:14:23 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-12-15 17:14:23 +0100 |
commit | af3bbb800d709f81c9f30bc4ced26c98ea5eafd6 (patch) | |
tree | e1b532bbf93e1be32e3dd743660da888e82a9116 /options | |
parent | 49df01323e59526de8ba9d140a0663dd6890586b (diff) | |
download | mpv-af3bbb800d709f81c9f30bc4ced26c98ea5eafd6.tar.bz2 mpv-af3bbb800d709f81c9f30bc4ced26c98ea5eafd6.tar.xz |
audio: make native channel count the default instead of stereo downmix
This should work well with most audio APIs, except ALSA. A long-winded
explanation is provided how to make ALSA multichannel output work.
All other AOs should have no such problems. Of course it's possible
that previously unknown issues arise, because I assume that enabling
multichannel audio is actually relatively rare.
This also disables codec downmix by default, which could change the
audio output due to different mixing in the codec and libavresample.
Fixes #1313.
Diffstat (limited to 'options')
-rw-r--r-- | options/options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/options/options.c b/options/options.c index e3afe5ab14..1eb687d1b2 100644 --- a/options/options.c +++ b/options/options.c @@ -749,7 +749,7 @@ const struct MPOpts mp_default_opts = { .sub_visibility = 1, .sub_pos = 100, .sub_speed = 1.0, - .audio_output_channels = MP_CHMAP_INIT_STEREO, + .audio_output_channels = {0}, // auto .audio_output_format = 0, // AF_FORMAT_UNKNOWN .playback_speed = 1., .pitch_correction = 1, |