From 3a2d5e68acb2ac0f8b09b896907a692b1c48c6b3 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 21 Sep 2017 11:07:02 +0200 Subject: audio: move libswresample wrapper out of audio filter code Move it from af_lavrresample.c to a new aconverter.c file, which is independent from the filter chain code. It also doesn't use mp_audio, and thus has no GPL dependencies. Preparation for later commits. Not particularly well tested, so have fun. --- audio/filter/af.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'audio/filter/af.h') diff --git a/audio/filter/af.h b/audio/filter/af.h index 553fc03e32..bbf7b53bad 100644 --- a/audio/filter/af.h +++ b/audio/filter/af.h @@ -55,6 +55,7 @@ struct af_instance { char *full_name; struct mp_log *log; struct MPOpts *opts; + struct mpv_global *global; struct replaygain_data *replaygain_data; int (*control)(struct af_instance *af, int cmd, void *arg); void (*uninit)(struct af_instance *af); @@ -98,6 +99,7 @@ struct af_stream { struct mp_log *log; struct MPOpts *opts; + struct mpv_global *global; struct replaygain_data *replaygain_data; }; -- cgit v1.2.3