diff options
author | Wim Taymans <wtaymans@redhat.com> | 2019-09-10 18:50:28 +0200 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2019-09-10 18:50:28 +0200 |
commit | d648ea4ad367964361e45fc1e8532dde1d8c8f59 (patch) | |
tree | e70d4504a3d6ecf4f7c57141b4774d586f205cc4 | |
parent | 2d8bce7479e1d5941a8a1b05d83588e8888f8a73 (diff) |
control: don't fail on async port_set_io
m--------- | pipewire-jack | 14 | ||||
-rw-r--r-- | src/pipewire/control.c | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/pipewire-jack b/pipewire-jack -Subproject ad086e33498cbde349bb9452807f7b561b473d4 +Subproject 4bd1e9a9ff70bf50611e85d9244e70da04dfd13 diff --git a/src/pipewire/control.c b/src/pipewire/control.c index 31fe04ab..58fcefa0 100644 --- a/src/pipewire/control.c +++ b/src/pipewire/control.c @@ -147,7 +147,7 @@ static int port_set_io(struct pw_port *port, uint32_t mix, uint32_t id, void *da if (port->mix) { res = spa_node_port_set_io(port->mix, port->direction, mix, id, data, size); - if (res == 0) + if (SPA_RESULT_IS_OK(res)) return res; } |