summaryrefslogtreecommitdiffstats
path: root/audio/filter/af.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-09-21 11:07:02 +0200
committerwm4 <wm4@nowhere>2017-09-21 12:42:09 +0200
commit3a2d5e68acb2ac0f8b09b896907a692b1c48c6b3 (patch)
tree13a7e321ce6accceca720fb654cdf7ea8eee0afc /audio/filter/af.h
parentcaaa1189ba75a7df9a4d02f7747d6c0bf3b05012 (diff)
downloadmpv-3a2d5e68acb2ac0f8b09b896907a692b1c48c6b3.tar.bz2
mpv-3a2d5e68acb2ac0f8b09b896907a692b1c48c6b3.tar.xz
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.
Diffstat (limited to 'audio/filter/af.h')
-rw-r--r--audio/filter/af.h2
1 files changed, 2 insertions, 0 deletions
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;
};