summaryrefslogtreecommitdiffstats
path: root/src/pulsecore
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-06-21 02:24:23 +0200
committerLennart Poettering <lennart@poettering.net>2008-06-21 02:24:23 +0200
commit37bc240ee93fe82ef2c6f0407ab0c8de6fbd0794 (patch)
tree8c3af20313100c8466490105e248cb603236e69d /src/pulsecore
parentd3c1c920f05b5576c15152b70966dc7bf2b81dc1 (diff)
allow sinks to be created with max_request initialized to 0, so that the data can be filled in later when attaching to some piggybacked sink
Diffstat (limited to 'src/pulsecore')
-rw-r--r--src/pulsecore/sink.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pulsecore/sink.c b/src/pulsecore/sink.c
index 4d3b42c8..77a0c562 100644
--- a/src/pulsecore/sink.c
+++ b/src/pulsecore/sink.c
@@ -305,7 +305,6 @@ void pa_sink_put(pa_sink* s) {
/* The following fields must be initialized properly when calling _put() */
pa_assert(s->asyncmsgq);
pa_assert(s->rtpoll);
- pa_assert(s->thread_info.max_request > 0);
pa_assert(!s->thread_info.min_latency || !s->thread_info.max_latency ||
s->thread_info.min_latency <= s->thread_info.max_latency);