JUCE
JUCE copied to clipboard
[Bug]: MidiInput::getAvailableDevices() returns empty list when using WinRT MIDI API
trafficstars
Detailed steps on how to reproduce the bug
- I set JUCE_USE_WINRT_MIDI macro on.
- I use MidiInput::getAvailableDevices() and MidiOutput::getAvailableDevices() to get midi device list.
- They returns empty list.
- I set JUCE_USE_WINRT_MIDI macro off.
- These methods returns the right device list.
What is the expected behaviour?
MidiInput::getAvailableDevices() and MidiOutput::getAvailableDevices() returns empty list when using WinRT MIDI API. But they can return the right device list when using Win32 API. My JUCE version is 7.0.5 (commit 793df5dd3d4368bc121c960b89b922e2ccae4fe2) My Windows SDK version is 10.0.22621.0
Operating systems
Windows
What versions of the operating systems?
Microsoft Windows [Version 10.0.22621.1105]
Architectures
x86_64
Stacktrace
No response
Plug-in formats (if applicable)
No response
Plug-in host applications (DAWs) (if applicable)
No response
Testing on the develop branch
The bug is present on the develop branch
Code of Conduct
- [X] I agree to follow the Code of Conduct