Crackling sound when changing track with Snapcast


I am using the line below to send audio to snapcast on the local server. It works great except that I get a sharp crackling sound for like 100ms between chaging tracks. Is there a way to remedy this?

output = audioresample ! audio/x-raw,rate=48000,channels=2,format=S16LE ! audioconvert ! wavenc ! filesink location=/tmp/snapfifo

Is it similar to this problem here, suggests it could be a gstreamer issue. I don’t know how to solve it though.


Thanks I will look into it. I use Snapcast with Mpd and have no issue with it. So I assumed it could be a Mopidy issue.

FWIW, I get a sharp click when I start an album, but not on every track. I’m not sure what is causing it, but I do use SnapCast.


I gave up outputtung directly to snapcast from Mopidy. I am using Pulseaudio method (explained on Snapcast help page), and it works without sound issues.