fix daemon shutdown with active monitor streams
authorLennart Poettering <lennart@poettering.net>
Sun, 18 May 2008 23:56:16 +0000 (23:56 +0000)
committerLennart Poettering <lennart@poettering.net>
Sun, 18 May 2008 23:56:16 +0000 (23:56 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2469 fefdeb5f-60dc-0310-8127-8f9354f1896f

src/pulsecore/sink.c
src/pulsecore/source.c

index c099497..27b7b0f 100644 (file)
@@ -1303,7 +1303,6 @@ void pa_sink_set_max_rewind(pa_sink *s, size_t max_rewind) {
 void pa_sink_invalidate_requested_latency(pa_sink *s) {
 
     pa_sink_assert_ref(s);
-    pa_assert(PA_SINK_IS_LINKED(s->thread_info.state));
 
     s->thread_info.requested_latency_valid = FALSE;
 
index 9425193..3028b5b 100644 (file)
@@ -780,7 +780,6 @@ void pa_source_set_max_rewind(pa_source *s, size_t max_rewind) {
 void pa_source_invalidate_requested_latency(pa_source *s) {
 
     pa_source_assert_ref(s);
-    pa_assert(PA_SOURCE_IS_LINKED(s->thread_info.state));
 
     s->thread_info.requested_latency_valid = FALSE;