Closed ferdnyc closed 2 years ago
(It's arguably a bug that, absent any other configuration, JUCE sets the default device to the first device from the first available type — not the first device from the first type that contains devices. So, if the first detected device type contains no devices, you're SOL.)
LG, merging this also
Since the test app is built as a MinGW console app, it won't detect any Windows audio devices. But it will still try, and JUCE normally makes those the default device type, meaning it won't automatically find a default device. To avoid this, we subclass the
AudioDeviceManager
class and override itscreateAudioDeviceTypes()
method, avoiding any WASAPI probing at all.The test app is also enhanced to show the current default device (if one is detected), and to display some parameters about it. Sample output on Linux:
Fixes #130