From bf91b8c002b51cf9af1c7be4b0e1e50bcc83cc1a Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 25 Feb 2019 12:27:51 +0100 Subject: [PATCH] pulse: update for async changes --- src/introspect.c | 4 ++-- src/operation.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/introspect.c b/src/introspect.c index 20acc9fce..742e27978 100644 --- a/src/introspect.c +++ b/src/introspect.c @@ -35,7 +35,7 @@ static int node_event_info(void *object, const struct pw_node_info *info) return 0; } -static int node_event_param(void *object, +static int node_event_param(void *object, uint32_t seq, uint32_t id, uint32_t index, uint32_t next, const struct spa_pod *param) { @@ -110,7 +110,7 @@ static const struct pw_client_proxy_events client_events = { .info = client_event_info, }; -static int device_event_param(void *object, +static int device_event_param(void *object, uint32_t seq, uint32_t id, uint32_t index, uint32_t next, const struct spa_pod *param) { diff --git a/src/operation.c b/src/operation.c index 2e9e863f8..5115815af 100644 --- a/src/operation.c +++ b/src/operation.c @@ -52,8 +52,8 @@ pa_operation *pa_operation_new(pa_context *c, pa_stream *s, pa_operation_cb_t cb int pa_operation_sync(pa_operation *o) { pa_context *c = o->context; - o->seq = pw_core_proxy_sync(c->core_proxy, 0); pw_log_debug("operation %p: sync %d", o, o->seq); + o->seq = pw_core_proxy_sync(c->core_proxy, 0, 0); return 0; }