mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-16 07:00:00 -05:00
node: add props to add_port
This commit is contained in:
parent
eea062ee53
commit
b743518f78
26 changed files with 118 additions and 52 deletions
|
|
@ -292,10 +292,13 @@ struct spa_node {
|
|||
* \param node a spa_node
|
||||
* \param direction a #enum spa_direction
|
||||
* \param port_id an unused port id
|
||||
* \param props extra properties
|
||||
* \return 0 on success
|
||||
* -EINVAL when node is NULL
|
||||
*/
|
||||
int (*add_port) (struct spa_node *node, enum spa_direction direction, uint32_t port_id);
|
||||
int (*add_port) (struct spa_node *node,
|
||||
enum spa_direction direction, uint32_t port_id,
|
||||
const struct spa_dict *props);
|
||||
|
||||
int (*remove_port) (struct spa_node *node, enum spa_direction direction, uint32_t port_id);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue