pulse: fix device_description in READY
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 22 Sep 2010 16:50:44 +0000 (18:50 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 22 Sep 2010 17:02:35 +0000 (19:02 +0200)
commit7f48fb37e97f0af6c3f6d026a47f05852aa0be3a
tree502fbe4d799ce47e07039695849c562e9aeaefcf
parent6ce6ad41d5153300f95945c3a5f1ee41aa0029c3
pulse: fix device_description in READY

Make the is_dead check more clear and add an option to check for the status of
the stream in addition to the context.
We don't need a stream to get the device_description string.

Fixes #630317
ext/pulse/pulsesink.c
ext/pulse/pulsesrc.c