Initialize AudioClientProperties

This commit is contained in:
Frixuu 2021-10-01 21:44:26 +02:00
parent 06e2cef459
commit 9cc5e1f94c
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,7 @@ Error AudioDriverWASAPI::audio_device_init(AudioDeviceWASAPI *p_device, bool p_c
} }
if (using_audio_client_3) { if (using_audio_client_3) {
AudioClientProperties audioProps; AudioClientProperties audioProps{};
audioProps.cbSize = sizeof(AudioClientProperties); audioProps.cbSize = sizeof(AudioClientProperties);
audioProps.bIsOffload = FALSE; audioProps.bIsOffload = FALSE;
audioProps.eCategory = AudioCategory_GameEffects; audioProps.eCategory = AudioCategory_GameEffects;