mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-09 13:30:06 -05:00
Improve negotiation
Try to link ports based on compatible formats Add methods to filter formats.
This commit is contained in:
parent
1370fafd5b
commit
df86fcec10
12 changed files with 229 additions and 95 deletions
|
|
@ -116,12 +116,20 @@ SpaResult pinos_global_bind (PinosGlobal *global,
|
|||
uint32_t id);
|
||||
void pinos_global_destroy (PinosGlobal *global);
|
||||
|
||||
SpaFormat * pinos_core_find_format (PinosCore *core,
|
||||
PinosPort *output,
|
||||
PinosPort *input,
|
||||
PinosProperties *props,
|
||||
unsigned int n_format_filters,
|
||||
SpaFormat **format_filters,
|
||||
char **error);
|
||||
|
||||
PinosPort * pinos_core_find_port (PinosCore *core,
|
||||
PinosPort *other_port,
|
||||
uint32_t id,
|
||||
PinosProperties *props,
|
||||
SpaFormat **format_filter,
|
||||
unsigned int n_format_filters,
|
||||
SpaFormat **format_filters,
|
||||
char **error);
|
||||
|
||||
PinosNodeFactory * pinos_core_find_node_factory (PinosCore *core,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue