From 37bc240ee93fe82ef2c6f0407ab0c8de6fbd0794 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 21 Jun 2008 02:24:23 +0200 Subject: 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 --- src/pulsecore/sink.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/pulsecore') 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); -- cgit