From 6d4b4c0de3152bc2deb2df09ec3e98e032124593 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 12 Jan 2018 04:02:55 +0100 Subject: audio: add global options for resampler defaults This is part of trying to get rid of --af-defaults, and the af resample filter. It requires a complicated mechanism to set the defaults on the resample filter for backwards compatibility. --- options/options.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'options/options.h') diff --git a/options/options.h b/options/options.h index 38afc1c831..424a1c8f0e 100644 --- a/options/options.h +++ b/options/options.h @@ -275,7 +275,6 @@ typedef struct MPOpts { struct m_channels audio_output_channels; int audio_output_format; - int audio_normalize; int force_srate; double playback_speed; int pitch_correction; @@ -331,6 +330,8 @@ typedef struct MPOpts { int wingl_dwm_flush; + struct mp_resample_opts *resample_opts; + struct gl_video_opts *gl_video_opts; struct angle_opts *angle_opts; struct opengl_opts *opengl_opts; -- cgit v1.2.3