diff options
author | wm4 <wm4@nowhere> | 2013-12-21 18:23:59 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-21 20:50:12 +0100 |
commit | 1974c9b49d7bf09469362ef6ba1214f625ecb40a (patch) | |
tree | d670f2a12652f2f98531905e388f1290ebbee126 /audio/filter/af.h | |
parent | 4abe6b862f07d4d2dfa75791c9fdd97ccbc8aeaa (diff) | |
download | mpv-1974c9b49d7bf09469362ef6ba1214f625ecb40a.tar.bz2 mpv-1974c9b49d7bf09469362ef6ba1214f625ecb40a.tar.xz |
audio: mp_msg conversions
Diffstat (limited to 'audio/filter/af.h')
-rw-r--r-- | audio/filter/af.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/audio/filter/af.h b/audio/filter/af.h index d08560bece..6b0f0e9c01 100644 --- a/audio/filter/af.h +++ b/audio/filter/af.h @@ -30,6 +30,7 @@ #include "common/msg.h" struct af_instance; +struct mpv_global; // Number of channels #define AF_NCH MP_NUM_CHANNELS @@ -57,6 +58,7 @@ struct af_info { // Linked list of audio filters struct af_instance { const struct af_info *info; + struct mp_log *log; int (*control)(struct af_instance *af, int cmd, void *arg); void (*uninit)(struct af_instance *af); /* flags is a bit mask of AF_FILTER_FLAG_* values @@ -86,6 +88,7 @@ struct af_stream { struct mp_audio output; struct mp_audio filter_output; + struct mp_log *log; struct MPOpts *opts; }; @@ -120,7 +123,7 @@ typedef struct af_control_ext_s { int ch; // Chanel number } af_control_ext_t; -struct af_stream *af_new(struct MPOpts *opts); +struct af_stream *af_new(struct mpv_global *global); void af_destroy(struct af_stream *s); int af_init(struct af_stream *s); void af_uninit(struct af_stream *s); |