mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
client-source: set format on client source
Set the format on the client source when it is created so that other clients can inspect the format. It also makes client sources show up in the device monitor.
This commit is contained in:
parent
81b7f15a0c
commit
1fec75d2a5
5 changed files with 109 additions and 20 deletions
|
|
@ -63,7 +63,8 @@ struct _PinosClientSourceClass {
|
|||
/* normal GObject stuff */
|
||||
GType pinos_client_source_get_type (void);
|
||||
|
||||
PinosSource * pinos_client_source_new (PinosDaemon *daemon);
|
||||
PinosSource * pinos_client_source_new (PinosDaemon *daemon,
|
||||
GBytes *possible_formats);
|
||||
|
||||
PinosSourceOutput * pinos_client_source_get_source_input (PinosClientSource *source,
|
||||
const gchar *client_path,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue