From 3449e893e1cefc92e092e1952ed4db52f7247ce8 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 1 Aug 2013 17:41:32 +0200 Subject: audio/out: add support for new logging API --- audio/out/ao.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'audio/out/ao.h') 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); -- cgit v1.2.3