pulse-server: refactor channel position parsing

This commit is contained in:
Wim Taymans 2023-02-23 12:39:36 +01:00
parent eca4049a38
commit ad6ab7e0b7
3 changed files with 18 additions and 10 deletions

View file

@ -187,6 +187,7 @@ uint32_t channel_paname2id(const char *name, size_t size);
void channel_map_to_positions(const struct channel_map *map, uint32_t *pos);
void channel_map_parse(const char *str, struct channel_map *map);
bool channel_map_valid(const struct channel_map *map);
void channel_map_parse_position(const char *str, struct channel_map *map);
int format_parse_param(const struct spa_pod *param, bool collect, struct sample_spec *ss,
struct channel_map *map, const struct sample_spec *def_ss,