Open gavv opened 6 years ago
A crude fix to this can be implemented by outputting an inaudible tone from pulse audio. I added this line to my pulse audio config:
load-module module-sine frequency=1
@cmdwiggles thanks for info
As reported it #421, it's also reproducing on Pulseaudio 13.99.1.
Workaround suggested by @berglh: https://github.com/roc-streaming/roc-toolkit/issues/421#issuecomment-698169015
Have same issue, unloading module-suspend-on-idle or increasing timeout work for me. pulseaudio-13.0, roc-toolkit-0.1.5 Resuming can take few minutes after suspending. I thought that PA modules just didn't work the first time because started playing media after loading the modules when sink was already suspended
module-suspend-on-idle from PulseAudio 4.0 suspends Roc sink when it stays idle for some time (no sink inputs connected to it) and resumes when a new sink input appears. For some reason, the process of resuming takes pretty much time, up to 5 seconds.
I wasn't able to reproduce it with module-suspend-on-idle from PulseAudio 11.1. On that version, PulseAudio never suspends Roc sink.