I have Plexamp running on an always-on computer (Linux Ubuntu 24.04). The DAC (SMSL SU-X) disables USB when changing inputs or turning off. The USB device is brought up when the DAC input is set to USB.
Plexamp refuses to play until the input is manually changed from Settings → Playback → Audio Output → Audio Device (e.g., from Default to SMSL USB, or the other way around).
It sounds like Plexamp should reconnect to the audio device if it cannot play on the previously open device, which went away and came back.
Relevant details:
# cat /proc/asound/cards
0 [AUDIO ]: USB-Audio - SMSL USB AUDIO
SMSL SMSL USB AUDIO at usb-0000:00:14.0-4, high speed
# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 008: ID 152a:85dd Thesycon Systemsoftware & Consulting GmbH SMSL USB AUDIO
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Plexamp.log
Feb 04, 2025 14:57:36.298 [0x05e006c0] INFO - BASS: Resume.
Feb 04, 2025 14:57:36.298 [0x05e006c0] DEBUG - BASS: Ensuring we're not idle.
Feb 04, 2025 14:57:36.298 [0x05e006c0] INFO - BASS: Resuming audio output (started: 0)
Feb 04, 2025 14:57:36.298 [0x9fc006c0] ERROR - BASS: Device died a painful death.
Feb 04, 2025 14:57:36.298 [0x05e006c0] DEBUG - BASS: Sliding volume to 100.0 over 0 ms.
Feb 04, 2025 14:57:36.298 [0x05e006c0] INFO - BASS: We're gaplessly connecting the two streams 242208 -> 242209.
Feb 04, 2025 14:57:36.298 [0x05e006c0] DEBUG - BASS: Taking mixer pause flag off channel.
Feb 04, 2025 14:57:36.298 [0x05e006c0] DEBUG - BASS: Sliding volume to 100.0 over 0 ms.
Feb 04, 2025 14:57:36.298 [0x05e006c0] DEBUG - BASS: Resumed in 0 ms.
Feb 04, 2025 14:57:36.298 [0x9fc006c0] ERROR - BASS: Device died a painful death.
Server Version#: 1.41.3.9314
Player Version#: Plexamp-Linux-headless-v4.11.5