Closed gavv closed 5 years ago
It seems the problem is that PulseAudio buffer size is larger then the Roc target latency. Playback goes almost normally if I set 2sec latency in Roc. Not sure why PulseAudio chose such a high latency though, needs some more investigation. Also there are some tiny but regular glitches even with 2sec latency.
Related: roc-streaming/roc-pulse#6, roc-streaming/roc-pulse#17, roc-streaming/roc-pulse#18, roc-streaming/roc-pulse#16.
It's now possible to configure module-roc-sink-input to use higher network latency. This fixes the playback.
However the real problem was that module-roc-sink-input didn't request PulseAudio the minimum desired latency so the sink was using the default which is about 2 seconds.
It's now also possible to configure module-roc-sink-input to request lower playback latency. This is enabled by default now and fixes the playback as well.
roc-recv works, but module-roc-sink-input constantly interrupts playback:
This box is aarch64 (have not tested it before) and uses pulseaudio 8.0 (also have not tested it before).