Summary: | when unloading module-suspend-on-idle, sinks don't resume | ||
---|---|---|---|
Product: | PulseAudio | Reporter: | wim.taymans <wim.taymans> |
Component: | modules | Assignee: | pulseaudio-bugs |
Status: | RESOLVED FIXED | QA Contact: | pulseaudio-bugs |
Severity: | normal | ||
Priority: | medium | CC: | lennart |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
proposed patch
proposed patch |
Description
wim.taymans@gmail.com
2017-01-11 11:57:03 UTC
The patch resumes all devices even if they are already running, which results in some unwanted log messages (see the code in resume()). Also, a couple of formatting accidents: too small indentation and space between a function's name and its argument list. Otherwise a nice fix, though! We could make resume conditional on the sink/source current state. Created attachment 128926 [details] [review] proposed patch I added an improved patch: - correct indendation - only resume suspended sinks/sources - don't reset the timer if we're going to destroy it later anyway - improved log message Thanks! Applied. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.