summaryrefslogtreecommitdiffstats
path: root/polyp/polyplib-context.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-11-17 23:11:34 +0000
committerLennart Poettering <lennart@poettering.net>2004-11-17 23:11:34 +0000
commitc57d5deef6ee33ab892398c7fd27400cd4ce4542 (patch)
treef97cbdec3066ac66523539ef4763cfca3e779e38 /polyp/polyplib-context.c
parentcd3a98a2ab1b8be413d50db9baa5bf52fa3a3a45 (diff)
minor fixes for latency interpolation
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@291 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/polyplib-context.c')
-rw-r--r--polyp/polyplib-context.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/polyp/polyplib-context.c b/polyp/polyplib-context.c
index 15ef60b9..70429583 100644
--- a/polyp/polyplib-context.c
+++ b/polyp/polyplib-context.c
@@ -635,7 +635,9 @@ int pa_context_is_pending(struct pa_context *c) {
/* pa_log("pstream: %i\n", pa_pstream_is_pending(c->pstream)); */
/* pa_log("pdispatch: %i\n", pa_pdispatch_is_pending(c->pdispatch)); */
- return (c->pstream && pa_pstream_is_pending(c->pstream)) || (c->pdispatch && pa_pdispatch_is_pending(c->pdispatch)) || c->client;
+ return (c->pstream && pa_pstream_is_pending(c->pstream)) ||
+ (c->pdispatch && pa_pdispatch_is_pending(c->pdispatch)) ||
+ c->client;
}
static void set_dispatch_callbacks(struct pa_operation *o);