mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
session-manager: add monitor keys
Add keys to specify monitor endpoints
This commit is contained in:
parent
e24e383550
commit
8d49964c4d
3 changed files with 3 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ extern "C" {
|
|||
|
||||
#define PW_KEY_ENDPOINT_ID "endpoint.id" /**< id of an endpoint */
|
||||
#define PW_KEY_ENDPOINT_NAME "endpoint.name" /**< the name of an endpoint */
|
||||
#define PW_KEY_ENDPOINT_MONITOR "endpoint.monitor" /**< endpoint is monitor of given endpoint */
|
||||
#define PW_KEY_ENDPOINT_CLIENT_ID "endpoint.client.id" /**< client of the endpoint */
|
||||
#define PW_KEY_ENDPOINT_ICON_NAME "endpoint.icon-name" /**< an XDG icon name for the device.
|
||||
* Ex. "sound-card-speakers-usb" */
|
||||
|
|
|
|||
|
|
@ -84,6 +84,7 @@ static int client_endpoint_stream_update(void *object,
|
|||
PW_KEY_CLIENT_ID,
|
||||
PW_KEY_ENDPOINT_ID,
|
||||
PW_KEY_PRIORITY_SESSION,
|
||||
PW_KEY_ENDPOINT_MONITOR,
|
||||
PW_KEY_ENDPOINT_STREAM_NAME,
|
||||
PW_KEY_ENDPOINT_STREAM_DESCRIPTION,
|
||||
NULL
|
||||
|
|
|
|||
|
|
@ -308,6 +308,7 @@ int endpoint_init(struct endpoint *this,
|
|||
PW_KEY_ENDPOINT_NAME,
|
||||
PW_KEY_ENDPOINT_CLIENT_ID,
|
||||
PW_KEY_ENDPOINT_ICON_NAME,
|
||||
PW_KEY_ENDPOINT_MONITOR,
|
||||
NULL
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue