control: keep track of prop_id

Keep track of the property id which describes the property
functionality.
Link controls based on the property instead of the param_id.
This commit is contained in:
Wim Taymans 2018-02-07 17:56:35 +01:00
parent 053f251be8
commit 2fe6a8245d
3 changed files with 19 additions and 9 deletions

View file

@ -424,6 +424,7 @@ struct pw_control {
struct spa_list inputs_link; /**< link in linked input control */
uint32_t id;
uint32_t prop_id;
int32_t size;
struct spa_hook_list listener_list;