From 614ad62f891f8dc0156ae57631fb9195e56df026 Mon Sep 17 00:00:00 2001 From: LAGonauta Date: Sun, 1 Apr 2018 10:26:45 -0300 Subject: 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 --- DOCS/man/ao.rst | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'DOCS') 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=`` Enable OpenAL Soft's direct channel extension when available to avoid tinting the sound with ambisonics or HRTF. -- cgit v1.2.3