summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-09 21:21:31 +0200
committerwm4 <wm4@nowhere>2014-10-09 21:21:31 +0200
commit35649a990a5d468b6e9539c9e362d1e5a351c9c4 (patch)
tree31b1f76c5c219cfeaa0360c09122bfc45c4b90b7 /DOCS
parent89890192711e1478e7626df6f8eb2a7ecb117342 (diff)
downloadmpv-35649a990a5d468b6e9539c9e362d1e5a351c9c4.tar.bz2
mpv-35649a990a5d468b6e9539c9e362d1e5a351c9c4.tar.xz
audio: add device selection & listing with --audio-device
Not sure how good of an idea this is. This commit doesn't add support for this to any AO yet; the AO implementations will follow later.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/options.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index a59e1b8060..1d0efacb79 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -763,6 +763,23 @@ Audio
inserts the ``scaletempo`` audio filter. For details, see audio filter
section.
+``--audio-device=<name>``
+ Use the given audio device. This consists of the audio output name, e.g.
+ ``alsa``, followed by ``/``, followed by the audio output specific device
+ name.
+
+ You can list audio devices with ``--audio-device=help``.
+
+ The default value for this option is ``auto``, which tries every audio
+ output in preference order with the default device.
+
+ Note that many AOs have a ``device`` sub-option, which overrides the
+ device selection of this option (but not the audio output selection).
+ Likewise, forcing an AO with ``--ao`` will override the audio output
+ selection of ``--audio-device`` (but not the device selecton).
+
+ Currently not implemented for most AOs.
+
``--ao=<driver1[:suboption1[=value]:...],driver2,...[,]>``
Specify a priority list of audio output drivers to be used. For
interactive use one would normally specify a single one to use, but in