summaryrefslogtreecommitdiffstats
path: root/options/options.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-01-12 04:02:55 +0100
committerKevin Mitchell <kevmitch@gmail.com>2018-01-13 03:26:45 -0800
commit6d4b4c0de3152bc2deb2df09ec3e98e032124593 (patch)
treee257216a98e0a40610dc90e6e526152ea7f63833 /options/options.h
parent23edaf4412e378dabf061b6e852f7314b38b8020 (diff)
downloadmpv-6d4b4c0de3152bc2deb2df09ec3e98e032124593.tar.bz2
mpv-6d4b4c0de3152bc2deb2df09ec3e98e032124593.tar.xz
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.
Diffstat (limited to 'options/options.h')
-rw-r--r--options/options.h3
1 files changed, 2 insertions, 1 deletions
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;