alsa: refactor property parsing

Move the common property parsing to the init function.
This commit is contained in:
Wim Taymans 2021-11-23 12:27:36 +01:00
parent 25bfc9c63d
commit 8995129e6c
4 changed files with 47 additions and 80 deletions

View file

@ -228,7 +228,7 @@ spa_alsa_enum_format(struct state *state, int seq,
int spa_alsa_set_format(struct state *state, struct spa_audio_info *info, uint32_t flags);
int spa_alsa_init(struct state *state);
int spa_alsa_init(struct state *state, const struct spa_dict *info);
int spa_alsa_clear(struct state *state);
int spa_alsa_open(struct state *state, const char *params);