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) {
|
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;
|
||||||
|
|
Loading…
Reference in New Issue