You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use roc for streaming over wifi, hoping to achieve lower latency than my previous snapcast setup. It works well except that it sometimes produces an extremely loud popping sound. I've recorded the output using the following setup:
The output contains a sample set to -1.0 (or -32768 s16) that causes the popping (see the screenshot and attached wav):
Nothing like this happens on snapcast using the same devices and pipewire setup. As far as I understand dropped packets would result in samples set to 0, so this looks more like some kind of memory error / uninitialized value?
I haven't caught the exact moment in the logs unfortunately. The one thing that stands out to me in the logs is that the number of lost packets also gets set to -32768 at some point ("packets(lost/exp)"):
Hi,
I'm trying to use roc for streaming over wifi, hoping to achieve lower latency than my previous snapcast setup. It works well except that it sometimes produces an extremely loud popping sound. I've recorded the output using the following setup:
spotify -> pipewire -> roc-send -> wifi -> roc-recv -> pipewire loopback
The output contains a sample set to -1.0 (or -32768 s16) that causes the popping (see the screenshot and attached wav):
Nothing like this happens on snapcast using the same devices and pipewire setup. As far as I understand dropped packets would result in samples set to 0, so this looks more like some kind of memory error / uninitialized value?
I haven't caught the exact moment in the logs unfortunately. The one thing that stands out to me in the logs is that the number of lost packets also gets set to -32768 at some point ("packets(lost/exp)"):
Context
It's running on raspberry pi 5, arm64 using the dev branch @264c175b5ce and commands:
Receiver:
Sender:
I have also tried to set the latency to be much longer (~60ms) with longer FEC block but that did not solve the issue.
Recording (wav):
roc-6-4-default-resampler.zip
The text was updated successfully, but these errors were encountered: