alsa: don't set id in PropInfo for params

The id is useless when dealing with props params, we need to use the
name of the property as the key. Also the id can clash with other ids
of other plugins.
This commit is contained in:
Wim Taymans 2021-12-01 11:39:30 +01:00
parent e3ddcc3b19
commit e31f9aa0f2
4 changed files with 15 additions and 28 deletions

View file

@ -222,7 +222,7 @@ struct state {
};
struct spa_pod *spa_alsa_enum_propinfo(struct state *state,
uint32_t idx, uint32_t id, struct spa_pod_builder *b);
uint32_t idx, struct spa_pod_builder *b);
int spa_alsa_add_prop_params(struct state *state, struct spa_pod_builder *b);
int spa_alsa_parse_prop_params(struct state *state, struct spa_pod *params);