diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-08-01 17:41:32 +0200 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-08-01 20:32:49 +0200 |
commit | 3449e893e1cefc92e092e1952ed4db52f7247ce8 (patch) | |
tree | 44a9657081e24aa33de94dc69c303407776da173 /audio/out/ao.h | |
parent | 01178727a9e5808177d49aa5c26b0b9dbd1fcce0 (diff) | |
download | mpv-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.h | 4 |
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); |