mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
cleanups
Follow the data/size argument order convention to make the api more consistent.
This commit is contained in:
parent
7f931464e8
commit
5bebfe022b
50 changed files with 253 additions and 252 deletions
|
|
@ -169,7 +169,7 @@ static void inspect_node(struct data *data, struct spa_node *node)
|
|||
in_ports = alloca(n_input * sizeof(uint32_t));
|
||||
out_ports = alloca(n_output * sizeof(uint32_t));
|
||||
|
||||
if ((res = spa_node_get_port_ids(node, n_input, in_ports, n_output, out_ports)) < 0)
|
||||
if ((res = spa_node_get_port_ids(node, in_ports, n_input, out_ports, n_output)) < 0)
|
||||
printf("can't get port ids: %d\n", res);
|
||||
|
||||
for (i = 0; i < n_input; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue