mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
loop: add block flag to invoke
Remove async shutdown and block instead.
This commit is contained in:
parent
e776425846
commit
bc56c59597
14 changed files with 165 additions and 203 deletions
|
|
@ -261,6 +261,7 @@ static int do_pause(struct spa_loop *loop,
|
|||
seq,
|
||||
sizeof(res),
|
||||
&res,
|
||||
false,
|
||||
this);
|
||||
}
|
||||
return res;
|
||||
|
|
@ -300,6 +301,7 @@ static int do_start(struct spa_loop *loop,
|
|||
seq,
|
||||
sizeof(res),
|
||||
&res,
|
||||
false,
|
||||
this);
|
||||
}
|
||||
return SPA_RESULT_OK;
|
||||
|
|
@ -332,6 +334,7 @@ static int impl_node_send_command(struct spa_node *node, struct spa_command *com
|
|||
++this->seq,
|
||||
SPA_POD_SIZE(command),
|
||||
command,
|
||||
false,
|
||||
this);
|
||||
} else if (SPA_COMMAND_TYPE(command) == this->type.command_node.Pause) {
|
||||
struct port *state = &this->out_ports[0];
|
||||
|
|
@ -347,6 +350,7 @@ static int impl_node_send_command(struct spa_node *node, struct spa_command *com
|
|||
++this->seq,
|
||||
SPA_POD_SIZE(command),
|
||||
command,
|
||||
false,
|
||||
this);
|
||||
} else if (SPA_COMMAND_TYPE(command) == this->type.command_node.ClockUpdate) {
|
||||
return SPA_RESULT_OK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue