01-23-2025, 12:11 PM
(01-23-2025, 11:25 AM)nikolas Wrote: For me (with a rotel amp via usb) this works exactly as you describe. So for users who want the output to switch to HDMI when the USB device is gone, everything is fine with my setup.
Its just that I only have a USB device and it switches off all the time. So I would prefer moode to always revert to the last choice of output I made, rather than to have it override my choice and then I switch it back. I'm not trying to say that that's the same for the majority of users, so this is not about what moode should do by default - that's up to you anyway and works quite well. It just looks like some people are in a similar situation, so I was wondering whether there is any way for us to tweak it so that it does what we want, e.g. by storing the user's last choice somewhere and changing the output automatically when that source reappears.
It would be great to be able to do that, but by now I've thought about it so much that I remember to change the output whenever it doesn't work (and following abuelomg's experience, I won't give other family members access)
The challenge is that in the failure cases the USB DAC after being turned on or plugged back in never gets recognized by Linux and so there is no way to auto-reconfigure the audio output to this DAC.
I think @Nutul has this failure case and was going to do some investigation.