mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-11 13:30:07 -05:00
Improve state management
Split setup of pipeline and state change to inspect the pipeline formats and properties. Pass the device monitor caps to the gstreamer source so that we don't have to query that again. Work on adding time provider to the sender pipeline. Send the port and address to the client in the source-output object properties. Improve properties API and add some more docs.
This commit is contained in:
parent
1c2fbac587
commit
6611061683
7 changed files with 227 additions and 38 deletions
|
|
@ -29,13 +29,17 @@ typedef struct _PinosProperties PinosProperties;
|
|||
#define PINOS_TYPE_PROPERTIES (pinos_properties_get_type())
|
||||
GType pinos_properties_get_type (void);
|
||||
|
||||
PinosProperties * pinos_properties_new (const gchar *key, ...);
|
||||
PinosProperties * pinos_properties_new (const gchar *key, ...) G_GNUC_NULL_TERMINATED;
|
||||
PinosProperties * pinos_properties_copy (PinosProperties *properties);
|
||||
void pinos_properties_free (PinosProperties *properties);
|
||||
|
||||
void pinos_properties_set (PinosProperties *properties,
|
||||
const gchar *key,
|
||||
const gchar *value);
|
||||
void pinos_properties_setf (PinosProperties *properties,
|
||||
const gchar *key,
|
||||
const gchar *format,
|
||||
...) G_GNUC_PRINTF (3, 4);
|
||||
const gchar * pinos_properties_get (PinosProperties *properties,
|
||||
const gchar *key);
|
||||
void pinos_properties_remove (PinosProperties *properties,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue