Audio Speed is too fast with snapcast - but alsasink is working #980
Replies: 2 comments 5 replies
-
Do you need to solve it? There are four ways to get the audio from Mopidy to Snapserver (all in the docs on here) and filesink is the worst option. |
Beta Was this translation helpful? Give feedback.
-
Hi you both. Thanks a lot for the fast feedback. I am digging into the documentation now and try to figure out what TCP does etc. |
Beta Was this translation helpful? Give feedback.
-
I am running mopidy on a Raspberry PI 4 and I use snapcast for a multiroom audio.
When I configure mopidy to use alsasink device=hw:0,0 the sound is perfect.
When I use filesink location=/tmp/snapfifo the audio file is played about 5 times too fast.
Both samplerates are the same.
Here is my mopidy config for using Snapcast:
output = audioresample ! audioconvert ! audio/x-raw,rate=48000,channels=2,format=S16LE ! filesink location=/tmp/snapfifo
In the Snapcast config I only changed this in [stream]:
stream = pipe:///tmp/snapfifo?name=Mopidy
sampleformat = 48000:16:2
Any ideas on how to solve this? Thanks for any suggestion.
Beta Was this translation helpful? Give feedback.
All reactions