summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-27 12:16:32 +0100
committerwm4 <wm4@nowhere>2014-10-27 12:18:25 +0100
commitdced2aa81b5b44e9952c7be8834da441f58187e8 (patch)
tree7570463938e798d118bb3b2687d066abba57eae0 /DOCS
parentd5b081152aecb947215f7b8aa091ca2031c94edc (diff)
downloadmpv-dced2aa81b5b44e9952c7be8834da441f58187e8.tar.bz2
mpv-dced2aa81b5b44e9952c7be8834da441f58187e8.tar.xz
command: add audio-device property
Meant for changing the --audio-device at runtime.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/input.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index dca64657fe..b335339590 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -1395,6 +1395,19 @@ Property list
human readable free form text. The description is an empty string if none
was received.
+``audio-device`` (RW)
+ Set the audio device. This directly reads/writes the ``--audio-device``
+ option, but on write accesses, the audio output will be scheduled for
+ reloading.
+
+ Writing this property while no audio output is active will not automatically
+ enable audio. (This is also true in the case when audio was disabled due to
+ reinitialization failure after a previous write access to ``audio-device``.)
+
+ This property also doesn't tell you which audio device is actually in use.
+
+ How these details are handled may change in the future.
+
``options/<name>`` (RW)
Read-only access to value of option ``--<name>``. Most options can be
changed at runtime by writing to this property. Note that many options