From: Lennart Poettering Date: Sat, 21 Jun 2008 00:24:23 +0000 (+0200) Subject: allow sinks to be created with max_request initialized to 0, so that the data can... X-Git-Tag: 1.0_branch~2773 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=37bc240ee93fe82ef2c6f0407ab0c8de6fbd0794;p=profile%2Fivi%2Fpulseaudio.git 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 --- diff --git a/src/pulsecore/sink.c b/src/pulsecore/sink.c index 4d3b42c..77a0c56 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);