summaryrefslogtreecommitdiffstats
path: root/DOCS/man/en/ao.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-19 15:29:05 +0200
committerwm4 <wm4@nowhere>2014-04-19 15:29:05 +0200
commit0a444511e86a02feb2c945287ed535d0ca650b9b (patch)
tree62a3b45daa9a38f6f79c13b79bce99eda393805c /DOCS/man/en/ao.rst
parent78b07c7b605193de29f5e4e8d2e6b8f0495dd044 (diff)
downloadmpv-0a444511e86a02feb2c945287ed535d0ca650b9b.tar.bz2
mpv-0a444511e86a02feb2c945287ed535d0ca650b9b.tar.xz
manpage: add notes when to use/not use certain AO and VO drivers
Diffstat (limited to 'DOCS/man/en/ao.rst')
-rw-r--r--DOCS/man/en/ao.rst26
1 files changed, 25 insertions, 1 deletions
diff --git a/DOCS/man/en/ao.rst b/DOCS/man/en/ao.rst
index 47b93649ad..c7fedbcfc1 100644
--- a/DOCS/man/en/ao.rst
+++ b/DOCS/man/en/ao.rst
@@ -18,7 +18,12 @@ normal driver parameters.
.. note::
- See ``--ao=help`` for a list of compiled-in audio output drivers.
+ See ``--ao=help`` for a list of compiled-in audio output drivers. The
+ driver ``--ao=alsa`` is preferred. ``--ao=pulse`` is preferred on systems
+ where PulseAudio is forced. On Windows, ``--ao=wasapi`` is preferred,
+ though it might cause trouble sometimes, in which case ``--ao=dsound``
+ should be used. On BSD systems, ``--ao=oss`` or `--ao=sndio`` may work
+ (the latter being experimental). On OSX systems, use ``--ao=coreaudio``.
.. admonition:: Examples
@@ -115,6 +120,9 @@ Available audio output drivers are:
``openal``
Experimental OpenAL audio output driver
+ .. note:: This driver is not very useful. Playing multi-channel audio with
+ it is slow.
+
``pulse``
PulseAudio audio output driver
@@ -133,6 +141,10 @@ Available audio output drivers are:
PortAudio audio output driver. This works on all platforms, and has
extensive MS Windows support.
+ .. note:: This driver is not very useful. It was added in the hope of
+ providing portable audio API across all platforms, but turned
+ our semi-broken and underfeatured.
+
``device``
Specify the subdevice to use. Giving ``help`` as device name lists all
devices found by PortAudio. Devices can be given as numeric values,
@@ -141,6 +153,8 @@ Available audio output drivers are:
``dsound`` (Windows only)
DirectX DirectSound audio output driver
+ .. note:: This driver is for compatibility with old systems.
+
``device=<devicenum>``
Sets the device number to use. Playing a file with ``-v`` will show a
list of available devices.
@@ -150,6 +164,10 @@ Available audio output drivers are:
1.2, but may require the ``SDL_AUDIODRIVER`` environment variable to be set
appropriately for your system.
+ .. note:: This driver is for compatibility with extremely foreign
+ environments, such as systems where none of the other drivers
+ are available.
+
``buflen=<length>``
Sets the audio buffer length in seconds. Is used only as a hint by the
sound system. Playing a file with ``-v`` will show the requested and
@@ -201,6 +219,10 @@ Available audio output drivers are:
``rsound``
Audio output to an RSound daemon
+ .. note:: Completely useless, unless you intend to run RSound. Not to be
+ confused with RoarAudio, which is something completely
+ differently.
+
``host=<name/path>``
Set the address of the server (default: localhost). Can be either a
network hostname for TCP connections or a Unix domain socket path
@@ -212,6 +234,8 @@ Available audio output drivers are:
``sndio``
Audio output to the OpenBSD sndio sound system
+ .. note:: Experimental. There are known bugs and issues.
+
(Note: only supports mono, stereo, 4.0, 5.1 and 7.1 channel
layouts.)