mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-21 08:56:56 -05:00
pulse-server: refactor channel position parsing
This commit is contained in:
parent
eca4049a38
commit
ad6ab7e0b7
3 changed files with 18 additions and 10 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue