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