diff --git a/modules/juce_audio_devices/native/juce_win32_ASIO.cpp b/modules/juce_audio_devices/native/juce_win32_ASIO.cpp index f1f213bf0b..1443100a15 100644 --- a/modules/juce_audio_devices/native/juce_win32_ASIO.cpp +++ b/modules/juce_audio_devices/native/juce_win32_ASIO.cpp @@ -1427,7 +1427,12 @@ public: TCHAR name[256] = {}; while (RegEnumKey (hk, index++, name, numElementsInArray (name)) == ERROR_SUCCESS) + { + if (isBlacklistedDriver (name)) + continue; + addDriverInfo (name, hk); + } RegCloseKey (hk); } @@ -1559,6 +1564,11 @@ private: } //============================================================================== + static bool isBlacklistedDriver (const String& driverName) + { + return driverName == "ASIO DirectX Full Duplex Driver" || driverName == "ASIO Multimedia Driver"; + } + void addDriverInfo (const String& keyName, HKEY hk) { HKEY subKey;