acp: use AUX channels for PRO audio profile

That way we can actually use the channel names to make custom loopback
mappings.
This commit is contained in:
Wim Taymans 2021-07-21 11:27:09 +02:00
parent 1ad54e8a26
commit 08e34a99fd

View file

@ -207,7 +207,7 @@ static inline pa_channel_map* pa_channel_map_init_pro(pa_channel_map *m,
unsigned i;
pa_channel_map_init(m);
for (i = 0; i < channels; i++)
m->map[i] = PA_CHANNEL_POSITION_INVALID;
m->map[i] = PA_CHANNEL_POSITION_AUX0 + i;
m->channels = (uint8_t) channels;
return m;
}