mirror of
https://github.com/godotengine/godot
synced 2024-09-16 00:48:15 +00:00
Fix startup warning - Property not found: audio/output_latency
This commit is contained in:
parent
60e0f8b626
commit
84c2c3fcba
|
@ -499,7 +499,7 @@ Error AudioDriverWASAPI::finish_capture_device() {
|
||||||
Error AudioDriverWASAPI::init() {
|
Error AudioDriverWASAPI::init() {
|
||||||
mix_rate = GLOBAL_GET("audio/driver/mix_rate");
|
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();
|
Error err = init_render_device();
|
||||||
if (err != OK) {
|
if (err != OK) {
|
||||||
|
|
Loading…
Reference in a new issue