diff options
author | thexai <58434170+thexai@users.noreply.github.com> | 2023-09-05 08:47:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-05 08:47:04 +0200 |
commit | 58873bba2b10a8c5f567587fe2253b8a2e8b0eec (patch) | |
tree | 308585342a251db88f500e0f445503b9d860eefd | |
parent | 19110bb65ec505a93962647c46f355a57b62a6ba (diff) | |
parent | 23619686d39bf901342c7a74d63a4a095694150b (diff) |
Merge pull request #23701 from thexai/fix-WASAPI-enumeration-Nexus
[Windows] fix WASAPI devices enumeration: "WASAPI:default" is repeated multiple times
-rw-r--r-- | xbmc/cores/AudioEngine/Sinks/windows/AESinkFactoryWin32.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/cores/AudioEngine/Sinks/windows/AESinkFactoryWin32.cpp b/xbmc/cores/AudioEngine/Sinks/windows/AESinkFactoryWin32.cpp index fbb5452446..aef296e49e 100644 --- a/xbmc/cores/AudioEngine/Sinks/windows/AESinkFactoryWin32.cpp +++ b/xbmc/cores/AudioEngine/Sinks/windows/AESinkFactoryWin32.cpp @@ -68,7 +68,7 @@ std::vector<RendererDetail> CAESinkFactoryWin::GetRendererDetails() for (UINT i = 0; i < uiCount; i++) { - RendererDetail details; + RendererDetail details{}; ComPtr<IMMDevice> pDevice = nullptr; ComPtr<IPropertyStore> pProperty = nullptr; PROPVARIANT varName; |