Merge pull request #52654 from Chaosus/fix_startup_warning

Fix startup warning - Property not found: `audio/output_latency`
This commit is contained in:
Rémi Verschelde 2021-09-14 10:28:52 +02:00 committed by GitHub
commit 0d759df054
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -499,7 +499,7 @@ Error AudioDriverWASAPI::finish_capture_device() {
Error AudioDriverWASAPI::init() {
mix_rate = GLOBAL_GET("audio/driver/mix_rate");
target_latency_ms = GLOBAL_GET("audio/output_latency");
target_latency_ms = GLOBAL_GET("audio/driver/output_latency");
Error err = init_render_device();
if (err != OK) {