summaryrefslogtreecommitdiffstats
path: root/audio/out/ao.h
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-08-01 17:41:32 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-08-01 20:32:49 +0200
commit3449e893e1cefc92e092e1952ed4db52f7247ce8 (patch)
tree44a9657081e24aa33de94dc69c303407776da173 /audio/out/ao.h
parent01178727a9e5808177d49aa5c26b0b9dbd1fcce0 (diff)
downloadmpv-3449e893e1cefc92e092e1952ed4db52f7247ce8.tar.bz2
mpv-3449e893e1cefc92e092e1952ed4db52f7247ce8.tar.xz
audio/out: add support for new logging API
Diffstat (limited to 'audio/out/ao.h')
-rw-r--r--audio/out/ao.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/out/ao.h b/audio/out/ao.h
index 25cd12a0f1..65e5a3fc6b 100644
--- a/audio/out/ao.h
+++ b/audio/out/ao.h
@@ -93,11 +93,13 @@ struct ao {
struct encode_lavc_context *encode_lavc_ctx;
struct MPOpts *opts;
struct input_ctx *input_ctx;
+ struct mp_log *log; // Using e.g. "[ao/coreaudio]" as prefix
};
extern char *ao_subdevice;
-struct ao *ao_init_best(struct MPOpts *opts,
+struct mpv_global;
+struct ao *ao_init_best(struct mpv_global *global,
struct input_ctx *input_ctx,
struct encode_lavc_context *encode_lavc_ctx,
int samplerate, int format, struct mp_chmap channels);