This is under the assumption that one of the devices in ALL_DEVICES corresponds to the default. This is not true for all backends (eg, ALSA).