diff options
author | wm4 <wm4@nowhere> | 2016-09-02 20:07:25 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-02 21:21:47 +0200 |
commit | a85eecfe401ccaaa0b1981de71152bdc02184c66 (patch) | |
tree | e9e302e5a64438938c039fd4388f2aa68f82d1e0 /options/options.c | |
parent | eb14b18a33973021c30124775513795b689cec27 (diff) | |
download | mpv-a85eecfe401ccaaa0b1981de71152bdc02184c66.tar.bz2 mpv-a85eecfe401ccaaa0b1981de71152bdc02184c66.tar.xz |
ao_alsa: change sub-options to global options
Same deal as with vo_opengl.
Also edit the outdated information about multichannel output a little.
Diffstat (limited to 'options/options.c')
-rw-r--r-- | options/options.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c index 1d840fd744..ddebceef36 100644 --- a/options/options.c +++ b/options/options.c @@ -75,6 +75,7 @@ extern const struct m_sub_options encode_config; extern const struct m_sub_options image_writer_conf; extern const struct m_sub_options gl_video_conf; extern const struct m_sub_options vo_opengl_conf; +extern const struct m_sub_options ao_alsa_conf; extern const struct m_obj_list vf_obj_list; extern const struct m_obj_list af_obj_list; @@ -648,6 +649,9 @@ const m_option_t mp_opts[] = { OPT_SUBSTRUCT("", gl_video_opts, gl_video_conf, 0), OPT_SUBSTRUCT("", vo_opengl_opts, vo_opengl_conf, 0), #endif +#if HAVE_ALSA + OPT_SUBSTRUCT("", ao_alsa_opts, ao_alsa_conf, 0), +#endif #if HAVE_ENCODING OPT_SUBSTRUCT("", encode_opts, encode_config, 0), |