From 401bd57d447268b56e24e945be9240353d862969 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 5 Apr 2018 16:32:22 +0200 Subject: ao_alsa: add options for controlling period/buffer size --- DOCS/man/options.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'DOCS') 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=`` + 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 of periods requested from the ALSA API. See ``--alsa-buffer-time`` + for further remarks. + GPU renderer options ----------------------- -- cgit v1.2.3