pulse: update for async changes

This commit is contained in:
Wim Taymans 2019-02-25 12:27:51 +01:00
parent 71e5c13191
commit bf91b8c002
2 changed files with 3 additions and 3 deletions

View file

@ -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)
{

View file

@ -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;
}