summaryrefslogtreecommitdiff
path: root/drivers/wasapi
diff options
context:
space:
mode:
authorYuri Roubinsky <chaosus89@gmail.com>2021-09-14 10:21:25 +0300
committerYuri Roubinsky <chaosus89@gmail.com>2021-09-14 10:31:42 +0300
commit84c2c3fcbaa3454cafe0457e57cc25b3a6d54a50 (patch)
tree4c19bd464eaa17e0f82ce41a05a7163376634f7a /drivers/wasapi
parent60e0f8b6265d09552825515966835bfa9aeaf663 (diff)
Fix startup warning - Property not found: `audio/output_latency`
Diffstat (limited to 'drivers/wasapi')
-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) {