There seems to be a bug in the AudioDeviceSelectorComponent:
The comboBoxes for Input & Output devices in the AudioDeviceSelectorComponent are not updated properly when an external audio device is removed from the system that has a lower index (in the list of devices) than the currently selected one.
So for instance, if the currently selected output device is the last one on the list, and the first device on the list is removed from the system, the ‘Output’ comboBox doesn’t show any output device at all anymore. The actual currently active device doesn’t change though and keeps working, it is just the component that doesn’t show it as the currently active device anymore.
Tested on macOS 11.6.6 and Juce 7.0.5
Would be great if you could look into this.