pulse: always use the default pulse channel map

This causes the least surprises when the channelmap is not
propagated correctly from pipewire.
This commit is contained in:
Wim Taymans 2020-09-17 12:37:57 +02:00
parent 8ee07c3c66
commit 1f9b0c75b7
2 changed files with 8 additions and 8 deletions

View file

@ -390,7 +390,7 @@ int pa_format_parse_param(const struct spa_pod *param, pa_sample_spec *spec, pa_
map->map[i] = channel_id2pa(info.info.raw.position[i], &aux);
if (!pa_channel_map_valid(map))
pa_channel_map_init_extend(map, info.info.raw.channels, PA_CHANNEL_MAP_OSS);
pa_channel_map_init_extend(map, info.info.raw.channels, PA_CHANNEL_MAP_DEFAULT);
return 0;
}