mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-19 07:00:10 -05:00
node: pass struct to info callback to make it more extensible
This commit is contained in:
parent
bb2b15a5fb
commit
04f1046113
9 changed files with 78 additions and 18 deletions
|
|
@ -135,10 +135,12 @@ inspect_port_params(struct data *data, struct spa_node *node,
|
|||
}
|
||||
}
|
||||
|
||||
static void node_info(void *data, const struct spa_dict *info)
|
||||
static void node_info(void *data, const struct spa_node_info *info)
|
||||
{
|
||||
printf("node properties:\n");
|
||||
spa_debug_dict(2, info);
|
||||
if (info->change_mask & SPA_NODE_CHANGE_MASK_PROPS) {
|
||||
printf("node properties:\n");
|
||||
spa_debug_dict(2, info->props);
|
||||
}
|
||||
}
|
||||
|
||||
static const struct spa_node_callbacks node_callbacks =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue