mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-21 08:56:56 -05:00
pulse-server: make separate index
Separate the id (the pipewire object id) from the index (what we send to the client to identify the objects).
This commit is contained in:
parent
955e4287ab
commit
0904a35ba8
19 changed files with 235 additions and 210 deletions
|
|
@ -122,7 +122,7 @@ void register_object_message_handlers(struct pw_manager_object *o)
|
|||
{
|
||||
const char *str;
|
||||
|
||||
if (o->id == 0) {
|
||||
if (o->id == PW_ID_CORE) {
|
||||
free(o->message_object_path);
|
||||
o->message_object_path = strdup("/core");
|
||||
o->message_handler = core_object_message_handler;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue