From ac966ded11e22754ffa43b390e599e4242e29b37 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 20 Jan 2016 17:14:04 +0100 Subject: audio: change downmix behavior, add --audio-normalize-downmix This is probably the 3rd time the user-visible behavior changes. This time, switch back because not normalizing seems to be the more expected behavior from users. --- options/options.c | 1 + options/options.h | 1 + 2 files changed, 2 insertions(+) (limited to 'options') diff --git a/options/options.c b/options/options.c index 7d376d8f22..49c44cb189 100644 --- a/options/options.c +++ b/options/options.c @@ -274,6 +274,7 @@ const m_option_t mp_opts[] = { OPT_INTRANGE("audio-samplerate", force_srate, 0, 1000, 16*48000), OPT_CHMAP("audio-channels", audio_output_channels, CONF_MIN, .min = 0), OPT_AUDIOFORMAT("audio-format", audio_output_format, 0), + OPT_FLAG("audio-normalize-downmix", audio_normalize, 0), OPT_DOUBLE("speed", playback_speed, M_OPT_RANGE | M_OPT_FIXED, .min = 0.01, .max = 100.0), diff --git a/options/options.h b/options/options.h index ea3ee00b30..6ce4be472a 100644 --- a/options/options.h +++ b/options/options.h @@ -225,6 +225,7 @@ typedef struct MPOpts { struct mp_chmap audio_output_channels; int audio_output_format; + int audio_normalize; int force_srate; int dtshd; double playback_speed; -- cgit v1.2.3