mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -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
|
|
@ -38,10 +38,10 @@ struct extension_sub {
|
|||
|
||||
struct extension {
|
||||
const char *name;
|
||||
uint32_t idx;
|
||||
uint32_t index;
|
||||
int (*process)(struct client *client, uint32_t tag, struct message *m);
|
||||
};
|
||||
|
||||
const struct extension *extension_find(uint32_t idx, const char *name);
|
||||
const struct extension *extension_find(uint32_t index, const char *name);
|
||||
|
||||
#endif /* PULSE_SERVER_EXTENSION_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue