You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
Fix crash caused by invalid mix_rate assignment due to bogus
project settings.
We'll default to a sensible value in the case that a user has
somehow managed to modify the configuration file incorrectly.
Closes 69819
(cherry picked from commit 5a08091168)
This commit is contained in:
@@ -545,7 +545,7 @@ Error AudioDriverWASAPI::finish_input_device() {
|
||||
}
|
||||
|
||||
Error AudioDriverWASAPI::init() {
|
||||
mix_rate = GLOBAL_GET("audio/driver/mix_rate");
|
||||
mix_rate = _get_configured_mix_rate();
|
||||
|
||||
target_latency_ms = GLOBAL_GET("audio/driver/output_latency");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user