mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
pvsrc: implement source selection
Allow pvsrc to select what source to connect to.
This commit is contained in:
parent
98861cb940
commit
4a61f988dc
6 changed files with 81 additions and 40 deletions
|
|
@ -474,8 +474,8 @@ do_connect_capture (PvStream *stream)
|
|||
|
||||
g_dbus_proxy_call (context->priv->client,
|
||||
"CreateSourceOutput",
|
||||
g_variant_new ("(os)",
|
||||
(priv->target ? priv->target : "/"),
|
||||
g_variant_new ("(ss)",
|
||||
(priv->target ? priv->target : ""),
|
||||
g_bytes_get_data (priv->accepted_formats, NULL)),
|
||||
G_DBUS_CALL_FLAGS_NONE,
|
||||
-1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue