mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-10 13:30:05 -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
|
|
@ -24,7 +24,6 @@
|
|||
|
||||
#include <client/pinos.h>
|
||||
#include <server/node.h>
|
||||
#include <server/source.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
|
@ -42,18 +41,18 @@ typedef struct _PinosGstSourceClass PinosGstSourceClass;
|
|||
typedef struct _PinosGstSourcePrivate PinosGstSourcePrivate;
|
||||
|
||||
struct _PinosGstSource {
|
||||
PinosSource object;
|
||||
PinosNode object;
|
||||
|
||||
PinosGstSourcePrivate *priv;
|
||||
};
|
||||
|
||||
struct _PinosGstSourceClass {
|
||||
PinosSourceClass parent_class;
|
||||
PinosNodeClass parent_class;
|
||||
};
|
||||
|
||||
GType pinos_gst_source_get_type (void);
|
||||
|
||||
PinosSource * pinos_gst_source_new (PinosNode *node,
|
||||
PinosNode * pinos_gst_source_new (PinosDaemon *daemon,
|
||||
const gchar *name,
|
||||
PinosProperties *properties,
|
||||
GstElement *element,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue