]> code.delx.au - pulseaudio/commitdiff
allow sinks to be created with max_request initialized to 0, so that the data can...
authorLennart Poettering <lennart@poettering.net>
Sat, 21 Jun 2008 00:24:23 +0000 (02:24 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 21 Jun 2008 00:24:23 +0000 (02:24 +0200)
src/pulsecore/sink.c

index 4d3b42c8232b1abe28837af095a3890549441e10..77a0c562c55a669098f73a42b768aa6d187f9b4e 100644 (file)
@@ -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);