diff options
author | Frixuu <kontakt@lukasz.xyz> | 2021-10-01 21:44:26 +0200 |
---|---|---|
committer | Frixuu <kontakt@lukasz.xyz> | 2021-10-01 21:44:26 +0200 |
commit | 9cc5e1f94c1faffb184bb970bb7d3e895ca27296 (patch) | |
tree | fcf992015daf076684ecee0806c3a96cd5282ce9 /drivers | |
parent | 06e2cef459b109a7548d529900f00375c6fe6132 (diff) |
Initialize AudioClientProperties
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/wasapi/audio_driver_wasapi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/wasapi/audio_driver_wasapi.cpp b/drivers/wasapi/audio_driver_wasapi.cpp index 276fda2a8f..24c9b69542 100644 --- a/drivers/wasapi/audio_driver_wasapi.cpp +++ b/drivers/wasapi/audio_driver_wasapi.cpp @@ -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; |