diff options
author | wm4 <wm4@nowhere> | 2018-05-21 15:11:19 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2018-05-24 19:56:35 +0200 |
commit | fb22bf2317d4704895fca407507972031e932298 (patch) | |
tree | 8f7432be5ab95b0ea43d6be6b3d4c2866d72d014 /audio/out/ao.h | |
parent | 160e5c8377840ddc5cb80ab28a897c46f46851d2 (diff) | |
download | mpv-fb22bf2317d4704895fca407507972031e932298.tar.bz2 mpv-fb22bf2317d4704895fca407507972031e932298.tar.xz |
ao: use a local option struct
Instead of accessing MPOpts.
Diffstat (limited to 'audio/out/ao.h')
-rw-r--r-- | audio/out/ao.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/audio/out/ao.h b/audio/out/ao.h index 99a3d0fae0..d66391ef1d 100644 --- a/audio/out/ao.h +++ b/audio/out/ao.h @@ -83,6 +83,13 @@ struct mpv_global; struct input_ctx; struct encode_lavc_context; +struct ao_opts { + struct m_obj_settings *audio_driver_list; + char *audio_device; + char *audio_client_name; + double audio_buffer; +}; + struct ao *ao_init_best(struct mpv_global *global, int init_flags, void (*wakeup_cb)(void *ctx), void *wakeup_ctx, |