summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-04-05 16:32:22 +0200
committerJan Ekström <jeebjp@gmail.com>2018-04-15 23:11:33 +0300
commit401bd57d447268b56e24e945be9240353d862969 (patch)
tree84913cf32326f48a0a2b46b29a1caeefac83d236 /DOCS
parentc647516278f5624174b3152b77e2565e502bbb73 (diff)
downloadmpv-401bd57d447268b56e24e945be9240353d862969.tar.bz2
mpv-401bd57d447268b56e24e945be9240353d862969.tar.xz
ao_alsa: add options for controlling period/buffer size
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/options.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 1d4f9810c9..a5d146690a 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -4147,6 +4147,20 @@ ALSA audio output options
or it will work only for files which use the layout implicit to your
ALSA device).
+``--alsa-buffer-time=<microseconds>``
+ Set the requested buffer time in microseconds. A value of 0 skips requesting
+ anything from the ALSA API. This and the ``--alsa-periods`` option uses the
+ ALSA ``near`` functions to set the requested parameters. If doing so results
+ in an empty configuration set, setting these parameters is skipped.
+
+ Both options control the buffer size. A low buffer size can lead to higher
+ CPU usage and audio dropouts, while a high buffer size can lead to higher
+ latency in volume changes and other filtering.
+
+``--alsa-periods=<number>``
+ Number of periods requested from the ALSA API. See ``--alsa-buffer-time``
+ for further remarks.
+
GPU renderer options
-----------------------