Add a --audio-output-latency command-line argument

This allows optimizing the audio output latency on higher-end CPUs,
especially in projects that do not expose a way to override this setting.
This commit is contained in:
Hugo Locurcio
2023-06-08 19:46:05 +02:00
parent 281b7b9fdf
commit 6f1152bdbe
17 changed files with 46 additions and 12 deletions

View File

@ -58,6 +58,9 @@ Password for remote filesystem.
\fB\-\-audio\-driver\fR <driver>
Audio driver ('PulseAudio', 'ALSA', 'Dummy').
.TP
\fB\-\-audio\-output\-latency\fR <ms>
Override audio output latency in milliseconds (default is 15 ms). Lower values make sound playback more reactive but increase CPU usage, and may result in audio cracking if the CPU can't keep up.
.TP
\fB\-\-video\-driver\fR <driver>
Video driver ('Vulkan', 'GLES2').
.SS "Display options:"