Open Vinndimon opened 3 years ago
I've never experienced that issue before. However, I'd suggest you try the native pulseaudio version of squeezelite instead of the alsa to see if you still hear the same noise.
I've gotten this sporadically, very rarely, in the 18 months I've been running my current set-up; recently - maybe in the past month? - it's happening (nearly) every day when I first start playing music. Restarting squeezelite fixes it; I'm about to put in a cron job to just restart squeezelite in the early AM, but that's just a hack.
Unlike OP, I do not have to reboot the device -- a simple restart of the squeezelite service does the trick.
This is running on a little ODroid ARM box with the default Ubuntu release (18.04 bionic); squeezelite is 1.8-4.1build1 armhf. I think it's just running against ALSA; the config file is sparse, setting only the instance name and the LMS server. I haven't even set the audio device; it has always worked OOB.
I don't have pulseaudio installed on this device, but I can do so. Running pulseaudio as root has always been challenging and IMO unreliable. @Vinndimon , did you try pulseaudio, and did it fix your issues?
I do notice that when I restart the process, it takes a very long time for systemd to stop and restart, and there are log messages complaining about left-over processes in the control group indicating unclean termination; this could mean the process is hanging and refusing to terminate, but I don't really know. squeezelite itself is apparently reporting no errors to the log.
What can I do to provide more debugging information?
I use Squeezelite on Ubuntu 20.04. Sometimes, randomly, it loses the ability to play music. Instead of music it plays some strange "helicopter" noise. The decoder skips frames according to the log:
The only thing that fixes it is complete reboot of the device. Restarting the service does not help.