AudioDeviceManager::audioDeviceListChanged() checks to see if the current audio device is still available and if it isn’t then closes the device and tries to reinitialise.
Unfortunately the “isCurrentDeviceStillAvailable” only checks for an output device name match and ignores input devices. Please add “getDeviceNames(true)” to also check for input device names.
Thanks.