summaryrefslogtreecommitdiffstats
path: root/polyp/protocol-esound.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-09-01 00:23:51 +0000
committerLennart Poettering <lennart@poettering.net>2004-09-01 00:23:51 +0000
commit34fe8bd893ed9c7531bc4898b934ef9d4cdf3e68 (patch)
tree816a8543d3521eb43fb49c67af33afc44769bd91 /polyp/protocol-esound.c
parent9618aea5df5bf2c5069575f28a935c2039fc55e0 (diff)
add support for SCHED_FIFO
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@163 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/protocol-esound.c')
-rw-r--r--polyp/protocol-esound.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/polyp/protocol-esound.c b/polyp/protocol-esound.c
index 5102540b..2059dab8 100644
--- a/polyp/protocol-esound.c
+++ b/polyp/protocol-esound.c
@@ -903,6 +903,8 @@ static void sink_input_drop_cb(struct pa_sink_input *i, const struct pa_memchunk
/* do something */
assert(c->protocol && c->protocol->core && c->protocol->core->mainloop && c->protocol->core->mainloop->defer_enable);
c->protocol->core->mainloop->defer_enable(c->defer_event, 1);
+
+ assert(pa_memblockq_get_length(c->input_memblockq) > 2048);
}
static void sink_input_kill_cb(struct pa_sink_input *i) {