add device.api property

This commit is contained in:
Wim Taymans 2019-05-30 16:59:30 +02:00
parent d45569ce9e
commit acd797d780
4 changed files with 5 additions and 0 deletions

View file

@ -226,6 +226,7 @@ static int impl_node_send_command(void *object, const struct spa_command *comman
}
static const struct spa_dict_item node_info_items[] = {
{ "device.api", "alsa" },
{ "media.class", "Audio/Sink" },
{ "node.driver", "true" },
};

View file

@ -226,6 +226,7 @@ static int impl_node_send_command(void *object, const struct spa_command *comman
}
static const struct spa_dict_item node_info_items[] = {
{ "device.api", "alsa" },
{ "media.class", "Audio/Source" },
{ "node.driver", "true" },
};

View file

@ -315,6 +315,7 @@ static int impl_node_send_command(void *object, const struct spa_command *comman
}
static const struct spa_dict_item info_items[] = {
{ "device.api", "v4l2" },
{ "media.class", "Video/Source" },
{ "media.role", "Camera" },
{ "node.pause-on-idle", "false" },

View file

@ -35,6 +35,8 @@ extern "C" {
* Keys that start with "pipewire." are in general set-once and then
* read-only. They are usually used for security sensitive information that
* needs to be fixed.
*
* Properties from the parent can also appear on children.
*/
/* Peroperties usually set on the core object */