mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
Use mapper to make object id
Reuse object ids by using a mapper Simpify the uri struct a little.
This commit is contained in:
parent
f42268b9a5
commit
e7cae649aa
14 changed files with 61 additions and 64 deletions
|
|
@ -31,7 +31,7 @@ typedef struct _PinosGlobal PinosGlobal;
|
|||
|
||||
#include <pinos/server/main-loop.h>
|
||||
#include <pinos/server/data-loop.h>
|
||||
#include <pinos/server/registry.h>
|
||||
#include <pinos/server/uri.h>
|
||||
#include <pinos/server/node.h>
|
||||
#include <pinos/server/link.h>
|
||||
|
||||
|
|
@ -52,7 +52,9 @@ struct _PinosGlobal {
|
|||
* Pinos core object class.
|
||||
*/
|
||||
struct _PinosCore {
|
||||
PinosRegistry registry;
|
||||
PinosURI uri;
|
||||
|
||||
PinosMap objects;
|
||||
|
||||
SpaList global_list;
|
||||
SpaList client_list;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue