mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
node: dispatch RequestProcess event and command
The event is send to the driver node. The command is sent to node directly.
This commit is contained in:
parent
3471391e0e
commit
b5080a0395
2 changed files with 11 additions and 2 deletions
|
|
@ -511,7 +511,9 @@ static int client_node_command(void *object, const struct spa_command *command)
|
|||
pw_proxy_error(proxy, res, "suspend failed");
|
||||
}
|
||||
break;
|
||||
|
||||
case SPA_NODE_COMMAND_RequestProcess:
|
||||
res = pw_impl_node_send_command(data->node, command);
|
||||
break;
|
||||
default:
|
||||
pw_log_warn("unhandled node command %d", SPA_NODE_COMMAND_ID(command));
|
||||
res = -ENOTSUP;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue