Closed Viti0 closed 5 years ago
This is a problem with a bug in Spotifyd. Changing the volume control "by hand" might break other parts of the system, therefore I would not recommend this. Try disabling spotify
systemctl disable spotify
Ok, due to your recommendation I reverted my changes and disabled spotify instead, so far I have not encountered any volume spikes, so as you said spotify must have been the culprit. This however brought back the other issue I had with the distortions after a long pause (https://github.com/hifiberry/hifiberry-os/issues/7).
We'll see if we can find a solution for the Squeezelite stuff. I will close this.
I have two RP3b+AMP2 with one speaker each (R, L) with LMS in sync. During LMS playback, audio volume spikes occur, which are quite annoying. Sometimes not for hours, sometimes multiple times a minute. In alsamixer, Digital volume will increase from e.g. 20 to 36 and back within one second. My assumption is that another application is attempting to set the volume but is overwritten by squeezelite again, but I could not figure out which one. I turned off all the other applications in hifiberry.conf, it had no effect.
The problem was circumvented by letting squeezelite use software volume rather than giving it access to Digital.
Digital is now set to 100% at all times and no further spikes occurred. For my use case (as I use LMS exclusively) it's fine this way.
Is there any quality downside for lettings squeezelite handle the volume in software rather than the Digital output directly?