summaryrefslogtreecommitdiff
path: root/drivers/wasapi/audio_driver_wasapi.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-10-01 23:53:32 +0200
committerGitHub <noreply@github.com>2021-10-01 23:53:32 +0200
commit9c2a976a7784de79aecdbd3cb381991d047b1b7d (patch)
tree693c90de7d261828c966e2a824a35d68578c2a7b /drivers/wasapi/audio_driver_wasapi.cpp
parentce0268a0c1d2a73dd9d59ed339a76bec6a429edd (diff)
parent9cc5e1f94c1faffb184bb970bb7d3e895ca27296 (diff)
Merge pull request #53319 from Frixuu/wasapi
Diffstat (limited to 'drivers/wasapi/audio_driver_wasapi.cpp')
-rw-r--r--drivers/wasapi/audio_driver_wasapi.cpp2
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;