bluez: add api to properties

This commit is contained in:
Wim Taymans 2019-05-30 16:09:56 +02:00
parent c8cbb7e322
commit 11393ce9dd
3 changed files with 4 additions and 1 deletions

View file

@ -904,8 +904,9 @@ static int impl_node_send_command(void *object, const struct spa_command *comman
}
static const struct spa_dict_item node_info_items[] = {
{ "device.api", "bluez5" },
{ "media.class", "Audio/Sink" },
{ "node.driver", "true" },
{ "node.driver", "true" },
};
static void emit_node_info(struct impl *this, bool full)

View file

@ -557,6 +557,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", "bluez5" },
{ "media.class", "Audio/Source" },
{ "node.driver", "true" },
};

View file

@ -184,6 +184,7 @@ static int emit_nodes(struct impl *this)
}
static const struct spa_dict_item info_items[] = {
{ "device.api", "bluez5" },
{ "media.class", "Audio/Device" },
};