In KDE, there's this widget which lets me select the default audio device for applications:

This doesn't seem to impact what cpal chooses as the default, though. I have no idea what mechanism KDE uses to set the default device, but can/should cpal read that default?
I'm using Arch with PulseAudio.