mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
manager: also make a Core global
So that we can checke the permissions for the metadata
This commit is contained in:
parent
bd259a7eb6
commit
218689ff9a
1 changed files with 7 additions and 0 deletions
|
|
@ -135,6 +135,12 @@ static void object_destroy(struct object *o)
|
||||||
free(o);
|
free(o);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* core */
|
||||||
|
static const struct object_info core_info = {
|
||||||
|
.type = PW_TYPE_INTERFACE_Core,
|
||||||
|
.version = PW_VERSION_CORE,
|
||||||
|
};
|
||||||
|
|
||||||
/* client */
|
/* client */
|
||||||
static void client_event_info(void *object, const struct pw_client_info *info)
|
static void client_event_info(void *object, const struct pw_client_info *info)
|
||||||
{
|
{
|
||||||
|
|
@ -386,6 +392,7 @@ static const struct object_info metadata_info = {
|
||||||
|
|
||||||
static const struct object_info *objects[] =
|
static const struct object_info *objects[] =
|
||||||
{
|
{
|
||||||
|
&core_info,
|
||||||
&module_info,
|
&module_info,
|
||||||
&client_info,
|
&client_info,
|
||||||
&device_info,
|
&device_info,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue