Summary: | Sink is getting suspended due to being idle immediately, instead of after 5 second delay | ||
---|---|---|---|
Product: | PulseAudio | Reporter: | Tanu Kaskinen <tanuk> |
Component: | modules | Assignee: | pulseaudio-bugs |
Status: | RESOLVED FIXED | QA Contact: | pulseaudio-bugs |
Severity: | normal | ||
Priority: | medium | CC: | arun, lennart |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | sink-input,source-output: Avoid unneccessary rate updates |
Description
Tanu Kaskinen
2012-05-13 11:24:56 UTC
Hi Tank, follow your steps to reproduce it but not the same result. pressing the right arrow in Totem and if the playing audio is short, it will pause the stream and following message: ============== D: [pulseaudio] module-suspend-on-idle.c: Sink alsa_output.pci-0000_02_02.0.analog-stereo becomes idle, timeout in 5 seconds. I: [pulseaudio] module-suspend-on-idle.c: Sink alsa_output.pci-0000_02_02.0.analog-stereo idle for too long, suspending ... D: [pulseaudio] sink.c: Suspend cause of sink alsa_output.pci-0000_02_02.0.analog-stereo is 0x0004, suspending =============== From your log i doubt it's not from normal timed_out callback, but from pa_sink_suspend() in sink.c. Because there's state change after "Requesting rewind due to corking". --xingchao The following fix has been pushed: 8f540c6 sink-input,source-output: Avoid unneccessary rate updates Created attachment 61595 [details] [review] sink-input,source-output: Avoid unneccessary rate updates This makes sure we only call sink/source update_rate() if the stream being woken up has a sample spec that doesn't match the corresponding device'. |
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.