From 4e4eb6b3a90a18e078f3319d00c8435b29a7eac9 Mon Sep 17 00:00:00 2001 From: CrystalP Date: Fri, 20 Sep 2024 23:54:47 -0400 Subject: [PATCH] [WASAPI] fix stream types and frequencies enumeration --- xbmc/cores/AudioEngine/Sinks/AESinkWASAPI.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xbmc/cores/AudioEngine/Sinks/AESinkWASAPI.cpp b/xbmc/cores/AudioEngine/Sinks/AESinkWASAPI.cpp index 5877e9f319..32893d62df 100644 --- a/xbmc/cores/AudioEngine/Sinks/AESinkWASAPI.cpp +++ b/xbmc/cores/AudioEngine/Sinks/AESinkWASAPI.cpp @@ -396,7 +396,10 @@ void CAESinkWASAPI::EnumerateDevicesEx(AEDeviceInfoList &deviceInfoList, bool fo deviceInfo.m_channels.Reset(); deviceInfo.m_dataFormats.clear(); deviceInfo.m_sampleRates.clear(); + deviceInfo.m_streamTypes.clear(); deviceChannels.Reset(); + add192 = false; + add48 = false; for (unsigned int c = 0; c < WASAPI_SPEAKER_COUNT; c++) { -- 2.11.4.GIT