Skip to content
This repository was archived by the owner on Nov 8, 2019. It is now read-only.

Commit bf91b8c

Browse files
committed
pulse: update for async changes
1 parent 71e5c13 commit bf91b8c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/introspect.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ static int node_event_info(void *object, const struct pw_node_info *info)
3535
return 0;
3636
}
3737

38-
static int node_event_param(void *object,
38+
static int node_event_param(void *object, uint32_t seq,
3939
uint32_t id, uint32_t index, uint32_t next,
4040
const struct spa_pod *param)
4141
{
@@ -110,7 +110,7 @@ static const struct pw_client_proxy_events client_events = {
110110
.info = client_event_info,
111111
};
112112

113-
static int device_event_param(void *object,
113+
static int device_event_param(void *object, uint32_t seq,
114114
uint32_t id, uint32_t index, uint32_t next,
115115
const struct spa_pod *param)
116116
{

src/operation.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ pa_operation *pa_operation_new(pa_context *c, pa_stream *s, pa_operation_cb_t cb
5252
int pa_operation_sync(pa_operation *o)
5353
{
5454
pa_context *c = o->context;
55-
o->seq = pw_core_proxy_sync(c->core_proxy, 0);
5655
pw_log_debug("operation %p: sync %d", o, o->seq);
56+
o->seq = pw_core_proxy_sync(c->core_proxy, 0, 0);
5757
return 0;
5858
}
5959

0 commit comments

Comments
 (0)