mirror of
https://github.com/godotengine/godot
synced 2024-09-05 08:25:23 +00:00
Initialize AudioClientProperties
This commit is contained in:
parent
06e2cef459
commit
9cc5e1f94c
|
@ -301,7 +301,7 @@ Error AudioDriverWASAPI::audio_device_init(AudioDeviceWASAPI *p_device, bool p_c
|
|||
}
|
||||
|
||||
if (using_audio_client_3) {
|
||||
AudioClientProperties audioProps;
|
||||
AudioClientProperties audioProps{};
|
||||
audioProps.cbSize = sizeof(AudioClientProperties);
|
||||
audioProps.bIsOffload = FALSE;
|
||||
audioProps.eCategory = AudioCategory_GameEffects;
|
||||
|
|
Loading…
Reference in a new issue