mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
pulse-server: move the changed counter internally
We don't actually use this counter anywhere. Change the counter to a mask that will contain object specific changes to the params. This should make it possible to track what kind of changes where done to the object and make it easier to emit the right events later.
This commit is contained in:
parent
6e70fe459d
commit
3f77c4e25f
2 changed files with 14 additions and 13 deletions
|
|
@ -71,11 +71,11 @@ struct pw_manager_object {
|
|||
int (*message_handler)(struct pw_manager *m, struct pw_manager_object *o,
|
||||
const char *message, const char *params, char **response);
|
||||
|
||||
int changed;
|
||||
void *info;
|
||||
struct spa_param_info *params;
|
||||
uint32_t n_params;
|
||||
|
||||
uint64_t change_mask; /* object specific params change mask */
|
||||
struct spa_list param_list;
|
||||
unsigned int creating:1;
|
||||
unsigned int removing:1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue