Why does the Snapcast Player provider forcefully downsample to 48kHz/16bit? #3988
-
|
It says so in the docs: https://www.music-assistant.io/player-support/snapcast/
And I've seen it in snapserver logs: Song I'm trying to play is 88.2kHz 24bit:
Why can't we chose at what sample rate streams are added to Snapcast? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 13 replies
-
Beta Was this translation helpful? Give feedback.
-
|
It has to be tested, attempts to support a higher bit rate did not work. |
Beta Was this translation helpful? Give feedback.
-
|
Search a little more ffmpeg is incompatible with the format that snapcast works, there is no way to make it work, gstreamer has a format called S24_32LE which is the one that works with snapcast. That format does not exist in ffmpeg, what does work is 32 bits and other sample rates. It could be implemented but many snapcast clients like snapweb or snapdroid do not support 32 bits. It would only work in the native linux client. |
Beta Was this translation helpful? Give feedback.
-
|
Tried to address this here. Fingers crossed. |
Beta Was this translation helpful? Give feedback.
-
|
Y'all want to see something cool?
https://github.com/rwjack/snapcast/tree/feature/tcp-packed-s24le I made some manual changes to MA to test it out (I also run snapcast outside of MA): |
Beta Was this translation helpful? Give feedback.



We have tried that, but sending data in that format only sounds static.
We don't know if it's a problem with ffmpeg or snapcast.
I know that with gstreremer works but that implies a lot of changes in music assistant and adding a huge dependency for just that use case.