node: add port_id

Decouple the SPA port ids from the pinos port ids, this allows us to
more easily link and relink things and do dynamic connection later.
Implement multiple output ports on a pinos node.
This commit is contained in:
Wim Taymans 2016-09-12 18:29:59 +02:00
parent 36bcdaa4bc
commit e34ef88dac
5 changed files with 213 additions and 89 deletions

View file

@ -48,9 +48,11 @@ struct _PinosLink {
GObject object;
PinosNode *output_node;
guint output_port;
guint output_id;
uint32_t output_port;
PinosNode *input_node;
guint input_port;
guint input_id;
uint32_t input_port;
PinosLinkPrivate *priv;
};