Revert "global: avoid using existing global id"

This reverts commit 5baab24848.
This commit is contained in:
Wim Taymans 2022-01-14 20:01:53 +01:00
parent dd9fd95c75
commit e68dc49666
3 changed files with 6 additions and 34 deletions

View file

@ -450,7 +450,6 @@ struct pw_context {
uint32_t n_support; /**< number of support items */
struct pw_array factory_lib; /**< mapping of factory_name regexp to library */
uint32_t serial;
struct pw_array objects; /**< objects */
struct pw_impl_client *current_client; /**< client currently executing code in mainloop */
@ -1116,9 +1115,6 @@ struct pw_control {
void *user_data;
};
uint32_t pw_context_add_global(struct pw_context *context, struct pw_global *global);
void pw_context_remove_global(struct pw_context *context, struct pw_global *global);
/** Find a good format between 2 ports */
int pw_context_find_format(struct pw_context *context,
struct pw_impl_port *output,