mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
operation: fix for async changes
This commit is contained in:
parent
61edd78bf4
commit
71e5c13191
3 changed files with 2 additions and 5 deletions
|
|
@ -52,9 +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 = ++c->seq;
|
||||
o->seq = pw_core_proxy_sync(c->core_proxy, 0);
|
||||
pw_log_debug("operation %p: sync %d", o, o->seq);
|
||||
pw_core_proxy_sync(c->core_proxy, 0, o->seq);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue