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:
@ -555,7 +555,7 @@ Error AudioDriverWASAPI::finish_input_device() {
|
||||
Error AudioDriverWASAPI::init() {
|
||||
mix_rate = _get_configured_mix_rate();
|
||||
|
||||
target_latency_ms = GLOBAL_GET("audio/driver/output_latency");
|
||||
target_latency_ms = Engine::get_singleton()->get_audio_output_latency();
|
||||
|
||||
Error err = init_output_device();
|
||||
if (err != OK) {
|
||||
|
||||
Reference in New Issue
Block a user