pulse-server: convert between client cubic volume and linear

This commit is contained in:
Wim Taymans 2020-10-23 09:36:01 +02:00
parent 2e3556fa12
commit 1ceb902b76
3 changed files with 39 additions and 18 deletions

View file

@ -283,7 +283,7 @@ static void channel_map_to_positions(const struct channel_map *map, uint32_t *po
pos[i] = channel_pa2id(map->map[i]);
}
struct cvolume {
struct volume {
uint8_t channels;
float values[CHANNELS_MAX];
};