mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
Rework how clients connect.
Add buffer flags. The idea is to make it possible to easily check when a buffer contains control information that we need to parse to update the port fields. Make the client create remote nodes and ports and set up proxies for them. Make a port base class implementing most of the logic to pass buffers locally and remotely. Remove most code from stream.c, it's now in the port. Make a portsink and portsrc that can write and read to/from any port. We use these in the server to send and receive data. Rework format negotiation. The final format is now sent in-line before the data. The server will select a format on output ports.
This commit is contained in:
parent
e85c3002f7
commit
4a5ed1e1f5
35 changed files with 3111 additions and 761 deletions
|
|
@ -267,7 +267,8 @@ void pinos_context_get_node_info_by_id (PinosContext *context,
|
|||
* @change_mask: bitfield of changed fields since last call
|
||||
* @name: name the port, suitable for display
|
||||
* @properties: the properties of the port
|
||||
* @possible formats: the possible formats this port can consume
|
||||
* @possible_formats: the possible formats this port can consume
|
||||
* @format: the current format on this port
|
||||
*
|
||||
* The port information. Extra information can be added in later
|
||||
* versions.
|
||||
|
|
@ -281,6 +282,7 @@ typedef struct {
|
|||
const char *name;
|
||||
PinosProperties *properties;
|
||||
GBytes *possible_formats;
|
||||
GBytes *format;
|
||||
} PinosPortInfo;
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue