Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PulseAudio sink suspend on idle problem #20

Open
gavv opened this issue Feb 4, 2018 · 4 comments
Open

PulseAudio sink suspend on idle problem #20

gavv opened this issue Feb 4, 2018 · 4 comments
Labels
defect Something isn't working help wanted Contributions are welcome

Comments

@gavv
Copy link
Member

gavv commented Feb 4, 2018

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.

@gavv gavv self-assigned this Feb 4, 2018
@gavv gavv changed the title PulseAudio sink suspend on idle PulseAudio sink suspend on idle problem Apr 23, 2019
@gavv gavv removed their assignment May 30, 2019
@cmdwiggles
Copy link

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

@gavv
Copy link
Member Author

gavv commented Mar 4, 2020

@cmdwiggles thanks for info

@gavv
Copy link
Member Author

gavv commented Sep 28, 2020

As reported it #421, it's also reproducing on Pulseaudio 13.99.1.

Workaround suggested by @berglh: roc-streaming/roc-toolkit#421 (comment)

@ghostBot
Copy link

ghostBot commented Mar 18, 2021

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

@gavv gavv transferred this issue from roc-streaming/roc-toolkit Nov 28, 2022
@gavv gavv added the defect Something isn't working label Nov 28, 2022
@gavv gavv added the help wanted Contributions are welcome label May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect Something isn't working help wanted Contributions are welcome
Projects
None yet
Development

No branches or pull requests

3 participants