summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-05-18 23:56:16 +0000
committerLennart Poettering <lennart@poettering.net>2008-05-18 23:56:16 +0000
commitd65b901e3714055794bcba28043be50768d03872 (patch)
tree96ba08e4a8306cccb6a4189203b0fe18ca609230 /src
parent174d830a266cf572a8fc424548e65def771d6825 (diff)
fix daemon shutdown with active monitor streams
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2469 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src')
-rw-r--r--src/pulsecore/sink.c1
-rw-r--r--src/pulsecore/source.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/pulsecore/sink.c b/src/pulsecore/sink.c
index c099497c..27b7b0f8 100644
--- a/src/pulsecore/sink.c
+++ b/src/pulsecore/sink.c
@@ -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;
diff --git a/src/pulsecore/source.c b/src/pulsecore/source.c
index 9425193d..3028b5b9 100644
--- a/src/pulsecore/source.c
+++ b/src/pulsecore/source.c
@@ -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;