summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-09-14 10:28:52 +0200
committerGitHub <noreply@github.com>2021-09-14 10:28:52 +0200
commit0d759df0543d48dd0afd8a027a2e6659e38755a2 (patch)
tree22bb0a70128397b09a43fbeb4d175e5922f5ff2f
parent7b21b1bb608909b373237d19467c6236537b8062 (diff)
parent84c2c3fcbaa3454cafe0457e57cc25b3a6d54a50 (diff)
Merge pull request #52654 from Chaosus/fix_startup_warning
Fix startup warning - Property not found: `audio/output_latency`
-rw-r--r--drivers/wasapi/audio_driver_wasapi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/wasapi/audio_driver_wasapi.cpp b/drivers/wasapi/audio_driver_wasapi.cpp
index 0b5cfceadc..276fda2a8f 100644
--- a/drivers/wasapi/audio_driver_wasapi.cpp
+++ b/drivers/wasapi/audio_driver_wasapi.cpp
@@ -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) {