mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
port: work on port commands
This commit is contained in:
parent
157a8b6ddf
commit
c78fe6a353
7 changed files with 124 additions and 58 deletions
|
|
@ -441,6 +441,12 @@ int pw_port_alloc_buffers(struct pw_port *port,
|
|||
struct spa_pod **params, uint32_t n_params,
|
||||
struct spa_buffer **buffers, uint32_t *n_buffers);
|
||||
|
||||
/** Send a command to a port */
|
||||
int pw_port_send_command(struct pw_port *port, bool block, const struct spa_command *command);
|
||||
|
||||
/** pause the port */
|
||||
int pw_port_pause(struct pw_port *port);
|
||||
|
||||
/** Change the state of the node */
|
||||
int pw_node_set_state(struct pw_node *node, enum pw_node_state state);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue