summaryrefslogtreecommitdiffstats
path: root/DOCS/man
diff options
context:
space:
mode:
authorLAGonauta <lagonauta@gmail.com>2018-04-01 10:26:45 -0300
committerJan Ekström <jeebjp@gmail.com>2018-04-15 00:57:01 +0300
commit614ad62f891f8dc0156ae57631fb9195e56df026 (patch)
tree7e0b8d022a882d6433c8521a62f3436acd80d3d7 /DOCS/man
parent567df04012121a1d8e2a145deff11354fefd4876 (diff)
downloadmpv-614ad62f891f8dc0156ae57631fb9195e56df026.tar.bz2
mpv-614ad62f891f8dc0156ae57631fb9195e56df026.tar.xz
ao/openal: Add option to set buffering characteristics
One can now set the number of buffers and the buffer size. This can reduce the CPU usage and the total latency stays mostly the same. As there are sync mechanisms the A/V sync continue intact and working. It also modifies 6.1 channel order, as per OpenAL spec and add AOPLAY_FINAL_CHUNK support
Diffstat (limited to 'DOCS/man')
-rw-r--r--DOCS/man/ao.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/DOCS/man/ao.rst b/DOCS/man/ao.rst
index 5beca55384..3fc1ba9734 100644
--- a/DOCS/man/ao.rst
+++ b/DOCS/man/ao.rst
@@ -112,6 +112,14 @@ Available audio output drivers are:
``openal``
Experimental OpenAL audio output driver
+ ``--openal-num-buffers=<2-128>``
+ Specify the number of audio buffers to use. Lower values are better for
+ lower CPU usage. Default: 4.
+
+ ``--openal-num-samples=<256-32768>``
+ Specify the number of complete samples to use for each buffer. Higher
+ values are better for lower CPU usage. Default: 8192.
+
``--openal-direct-channels=<yes|no>``
Enable OpenAL Soft's direct channel extension when available to avoid
tinting the sound with ambisonics or HRTF.