mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
protocol: improve flushing
Use the IO_OUT flag to schedule flushing instead of a flush_event. Handle EGAIN and wait for IO_OUT to try again. Fixes #111
This commit is contained in:
parent
3d48ba8394
commit
cc8e992cd1
2 changed files with 62 additions and 39 deletions
|
|
@ -502,8 +502,6 @@ int pw_protocol_native_connection_flush(struct pw_protocol_native_connection *co
|
|||
continue;
|
||||
else {
|
||||
res = -errno;
|
||||
pw_log_error("could not sendmsg on fd:%d n_fds:%d: %s",
|
||||
conn->fd, n_fds, spa_strerror(res));
|
||||
goto exit;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue