mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-24 08:56:47 -05:00
node: remove port_send_command
We don't want to do this, we use a sequence to change things at runtime.
This commit is contained in:
parent
04f1046113
commit
7a1bd163f7
27 changed files with 3 additions and 365 deletions
|
|
@ -792,23 +792,6 @@ client_node_port_use_buffers(void *object,
|
|||
|
||||
}
|
||||
|
||||
static void
|
||||
client_node_port_command(void *object,
|
||||
uint32_t direction,
|
||||
uint32_t port_id,
|
||||
const struct spa_command *command)
|
||||
{
|
||||
struct pw_proxy *proxy = object;
|
||||
struct node_data *data = proxy->user_data;
|
||||
struct pw_port *port;
|
||||
|
||||
port = pw_node_find_port(data->node, direction, port_id);
|
||||
if (port == NULL)
|
||||
return;
|
||||
|
||||
pw_port_send_command(port, true, command);
|
||||
}
|
||||
|
||||
static void
|
||||
client_node_port_set_io(void *object,
|
||||
uint32_t seq,
|
||||
|
|
@ -942,7 +925,6 @@ static const struct pw_client_node_proxy_events client_node_events = {
|
|||
.remove_port = client_node_remove_port,
|
||||
.port_set_param = client_node_port_set_param,
|
||||
.port_use_buffers = client_node_port_use_buffers,
|
||||
.port_command = client_node_port_command,
|
||||
.port_set_io = client_node_port_set_io,
|
||||
.set_activation = client_node_set_activation,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue