Several DAWs I use let me enable/disable devices straight from the ASIO4All panel (opening them right away when enabled, and closing them right away when disabled)… And so I would like to point out that with the “extra” JUCE applications, toggling devices to an “enabled” state doesn’t always “open” them, leaving one or many recently enabled devices in an “Idle” state (and therefore not showing up in the “active input/output channels” lists of a AudioDeviceSelectorComponent).
The solution is to switch to another driver, and back to ASIO, to get the device to finally appear…
Here’s an example with the PluginHost.
The debug Output window gives me the following when this situation happens:
ASIO: error: create buffers 2 - Invalid Mode ASIO: error: create buffers 2 - Invalid Mode ASIO: error: Can't create i/o buffers - Invalid Mode ASIO: error: Can't create i/o buffers - Invalid Mode