diff options
author | wm4 <wm4@nowhere> | 2016-09-05 21:04:17 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-05 21:04:17 +0200 |
commit | 4ab860cddc177047663bbe8940b0d34c621b6425 (patch) | |
tree | b13ac6888948d4b5f132d03f3ac243ea7790db73 /DOCS/man | |
parent | cc813647d54843e4731cc36160f0c1e04e4b1404 (diff) | |
download | mpv-4ab860cddc177047663bbe8940b0d34c621b6425.tar.bz2 mpv-4ab860cddc177047663bbe8940b0d34c621b6425.tar.xz |
options: add a mechanism to make sub-option replacement slightly easier
Instead of requiring each VO or AO to manually add members to MPOpts and
the global option table, make it possible to register them automatically
via vo_driver/ao_driver.global_opts members. This avoids modifying
options.c/options.h every time, including having to duplicate the exact
ifdeffery used to enable a driver.
Diffstat (limited to 'DOCS/man')
-rw-r--r-- | DOCS/man/ao.rst | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/DOCS/man/ao.rst b/DOCS/man/ao.rst index 9e963d43f6..9d364b9685 100644 --- a/DOCS/man/ao.rst +++ b/DOCS/man/ao.rst @@ -16,6 +16,8 @@ normal driver parameters. ``--ao-defaults=<driver1[:parameter1:parameter2:...],driver2,...>`` Set defaults for each driver. + Deprecated. No replacement. + .. note:: See ``--ao=help`` for a list of compiled-in audio output drivers. The @@ -23,12 +25,6 @@ normal driver parameters. where PulseAudio is used. On BSD systems, ``--ao=oss`` or ``--ao=sndio`` may work (the latter being experimental). -.. admonition:: Examples - - - ``--ao=alsa,oss,`` Try the ALSA driver, then the OSS driver, then others. - - ``--ao=alsa:resample=yes:device=[plughw:0,3]`` Lets ALSA resample and - sets the device-name as first card, fourth device. - Available audio output drivers are: ``alsa`` (Linux only) |