char* pa_channel_map_snprint(char *s, size_t l, const pa_channel_map *map) {
unsigned channel;
- pa_bool_t first = TRUE;
+ bool first = true;
char *e;
pa_assert(s);
pa_channel_position_to_string(map->map[channel]));
e = strchr(e, 0);
- first = FALSE;
+ first = false;
}
return s;
memset(in_map, 0, sizeof(in_map));
for (c = 0; c < map->channels; c++)
- pa_bitset_set(in_map, map->map[c], TRUE);
+ pa_bitset_set(in_map, map->map[c], true);
if (pa_bitset_equals(in_map, PA_CHANNEL_POSITION_MAX,
PA_CHANNEL_POSITION_MONO, -1))
memset(in_map, 0, sizeof(in_map));
for (c = 0; c < map->channels; c++)
- pa_bitset_set(in_map, map->map[c], TRUE);
+ pa_bitset_set(in_map, map->map[c], true);
pa_init_i18n();