Added --param low-latency-audio

Currently modifies these values these values:
* audio pbuf delay - 32 ms -> 5 ms
* ALSA playback - minimal value
* ALSA audio buffer (internal in UG module) - 20 ms -> 5 ms
* audio mixer, internal audio buffer - 50 ms -> 5 ms
This commit is contained in:
Martin Pulec
2017-02-17 11:15:15 +01:00
parent 8676bed5f5
commit ded740065c
4 changed files with 21 additions and 4 deletions

View File

@@ -328,6 +328,9 @@ void print_param_doc()
}
}
// some common parameters used within multiple modules
ADD_TO_PARAM_DOC(low_latency_audio, "* low-latency-audio\n"
" Try to reduce audio latency at the expense of worse reliability\n");
ADD_TO_PARAM_DOC(ldgm_device, "* window-title=<title>\n"
" Use alternative window title (SDL/GL only)\n");