mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
Introduce the concept of a Port
A port is an input or output on a Node. Channels are created from the ports and inherit the direction of the port. do automatic port selection based on the direction and caps and node/port name. Simplify stream_connect by passing the direction. Fix pinossink to connect in setcaps so that we know the format and can select a good sink to connect to.
This commit is contained in:
parent
b885d40390
commit
ba4ef9b5d9
35 changed files with 1939 additions and 2120 deletions
|
|
@ -38,6 +38,7 @@ typedef struct _PinosDaemonClass PinosDaemonClass;
|
|||
typedef struct _PinosDaemonPrivate PinosDaemonPrivate;
|
||||
|
||||
#include <pinos/server/node.h>
|
||||
#include <pinos/server/port.h>
|
||||
#include <pinos/client/properties.h>
|
||||
|
||||
/**
|
||||
|
|
@ -73,7 +74,9 @@ void pinos_daemon_unexport (PinosDaemon *daemon, const gch
|
|||
|
||||
void pinos_daemon_add_node (PinosDaemon *daemon, PinosNode *node);
|
||||
void pinos_daemon_remove_node (PinosDaemon *daemon, PinosNode *node);
|
||||
PinosNode * pinos_daemon_find_node (PinosDaemon *daemon,
|
||||
|
||||
PinosPort * pinos_daemon_find_port (PinosDaemon *daemon,
|
||||
PinosDirection direction,
|
||||
const gchar *name,
|
||||
PinosProperties *props,
|
||||
GBytes *format_filter,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue