[Bug 1636253] Re: blocks audio output for other applications
Looking at lsof /dev/snd/* I can see that the soundcard is locked by the squeezelite process. In the past I could release the lock by turning off the player in the gui. This no longer works, regardless of whether the player is powered on (gui terminology) the lock remains. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1636253 Title: blocks audio output for other applications To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squeezelite/+bug/1636253/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1636253] Re: blocks audio output for other applications
Perhaps add a configuration option question/prompt during installation whether the user wants the service enabled (and explain the consequences)? I was affected by this bug because I wasn't aware that 1) a system service was installed and 2) that this service would block my user session pulseaudio from playing audio. I figured it out after five or ten minutes, but other users might have a harder time figuring out why their audio is suddenly broken. Then again, for other users this system service is exactly the desired behaviour (say, with single purpose RPi- like computers). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1636253 Title: blocks audio output for other applications To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squeezelite/+bug/1636253/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1636253] Re: blocks audio output for other applications
** Changed in: squeezelite (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1636253 Title: blocks audio output for other applications To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squeezelite/+bug/1636253/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1636253] Re: blocks audio output for other applications
OK, thanks - that makes sense. If I run `squeezelite` from a terminal when logged it, it correctly uses (I'm assuming) PulseAudio, because I can hear both system sounds and squeezelite music. Could it just be a matter of having squeezelite wait until PulseAudio is loaded before starting itself? I'll have a go writing a systemd init config that tries to do this. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1636253 Title: blocks audio output for other applications To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squeezelite/+bug/1636253/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1636253] Re: blocks audio output for other applications
The bug, as such, is that the ALSA sound stack in Linux only allows one process to hold it open. In your case, it's either squeezelite or the rest of your desktop. Desktops get around this by using PulseAudio or similar to multiplex the audio devices. Being a system service, squeezelite can't make use of that infrastructure. I'll see if there's anything that can be done but I suspect not. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1636253 Title: blocks audio output for other applications To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squeezelite/+bug/1636253/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1636253] Re: blocks audio output for other applications
Try to disable the squeezelite service, with: sudo systemctl stop squeezelite.service sudo systemctl disable squeezelite.service This will prevent it from loading on reboot. For me, this fixes the problem. You will need to start it manually when you want to use it, by opening a terminal and running the command "squeezelite". Press Ctrl+C to terminate it when done. This seems to be some problem with the init scripts. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1636253 Title: blocks audio output for other applications To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squeezelite/+bug/1636253/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1636253] Re: blocks audio output for other applications
I'm seeing this on a 14.04 system as well, with version 1.4-1. After a reboot with squeezelite installed, no audio devices show up in the system Sound window, and no other applications make sound. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1636253 Title: blocks audio output for other applications To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squeezelite/+bug/1636253/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1636253] Re: blocks audio output for other applications
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: squeezelite (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1636253 Title: blocks audio output for other applications To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squeezelite/+bug/1636253/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs