pulseaudio/src
Colin Guthrie 9109a188cd suspend: Do not assert when checking for device suspended status and a stream is not linked.
When looping through the streams on a given device checking to see if the
stream is 'active' there should be no assert if the stream is not linked, it
should simply be ignored.

This assert can be hit if a sink and a sink input are both created and setup
but the final put calls are left to the end as is done in module-ladspa-sink.

While the order of the calls in module-ladspa-sink could be altered, we should
deal gracefully with the way it is now and not complain about ending up
in this state.

A trigger case was trivial:
 1. Load a ladspa-sink.
 2. Play a stream and move it to it.
 3. Unload the module, then reload it.
 4. Due to module-stream-restore and module-suspend-on-idle, the hook callbacks
    will ultimately hit this assert.

Thanks to Kim Therkelsen for highlighting this issue.
2010-10-05 10:13:53 +01:00
..
daemon daemon: first take name on the bus, then return in starter process 2010-01-14 02:33:49 +01:00
modules device-manager: Ensure that sinks/sources populate the device manager lists in order of their priority. 2010-09-29 22:10:29 +01:00
pulse x11: Use the default screen for X11 properties. 2010-09-18 11:38:44 +01:00
pulsecore suspend: Do not assert when checking for device suspended status and a stream is not linked. 2010-10-05 10:13:53 +01:00
tests alsa-time-test: make test usable for capture too 2010-09-14 08:45:52 +01:00
utils x11: Use the default screen for X11 properties. 2010-09-18 11:38:44 +01:00
.gitignore add usergroup-test to .gitignore 2009-08-22 03:17:24 +02:00
depmod.py remove remaining $ 2008-06-18 22:38:32 +02:00
Makefile.am Add a configure option to change 'udevrulesdir' 2010-09-21 22:56:40 +01:00
map-file device-manager: Change the prefer/defer options to a single 'reorder' command. 2009-11-11 17:44:26 +00:00