Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Audio: Way to disable HDMI or set USB as default?
#21
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) Smile
Reply
#22
(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) Smile

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.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#23
Makes sense - that adds an additional step to the problem, since in that case one needs to "find" the device first. I guess both are about having the OS check up on the USB ports more than it currently does. I did have the problem of disappearing USB devices years ago, but it somehow disappeared a long time ago. I don't know whether it was a problem with moode, I thought it was a problem of the OS and/or the raspberry pi being underpowered. If there's anything I can do to help, let me know.
Reply


Forum Jump: