mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
bluez: add api to properties
This commit is contained in:
parent
c8cbb7e322
commit
11393ce9dd
3 changed files with 4 additions and 1 deletions
|
|
@ -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[] = {
|
static const struct spa_dict_item node_info_items[] = {
|
||||||
|
{ "device.api", "bluez5" },
|
||||||
{ "media.class", "Audio/Sink" },
|
{ "media.class", "Audio/Sink" },
|
||||||
{ "node.driver", "true" },
|
{ "node.driver", "true" },
|
||||||
};
|
};
|
||||||
|
|
||||||
static void emit_node_info(struct impl *this, bool full)
|
static void emit_node_info(struct impl *this, bool full)
|
||||||
|
|
|
||||||
|
|
@ -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[] = {
|
static const struct spa_dict_item node_info_items[] = {
|
||||||
|
{ "device.api", "bluez5" },
|
||||||
{ "media.class", "Audio/Source" },
|
{ "media.class", "Audio/Source" },
|
||||||
{ "node.driver", "true" },
|
{ "node.driver", "true" },
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -184,6 +184,7 @@ static int emit_nodes(struct impl *this)
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct spa_dict_item info_items[] = {
|
static const struct spa_dict_item info_items[] = {
|
||||||
|
{ "device.api", "bluez5" },
|
||||||
{ "media.class", "Audio/Device" },
|
{ "media.class", "Audio/Device" },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue