-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Helicopter noise instead of music #149
Comments
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? |
#155 looks like a related ticket, although in my case, the issue never occurs while music is (more or less) constantly playing. It only happens after there's been a period of hours when there's no streaming. Since (in my case) that's overnight, and there's a fair bit of automated system maintenance that happens in the middle of the night -- backups, etc -- and these are not beefy machines, it's possible that the LMS server is being swapped out of memory and maybe delaying a sync message; or maybe there's clock drift because of timesyncd? |
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.
The text was updated successfully, but these errors were encountered: