From 08e34a99fd5eb07f75ee6cbdc06c45d40d255c93 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 21 Jul 2021 11:27:09 +0200 Subject: [PATCH] acp: use AUX channels for PRO audio profile That way we can actually use the channel names to make custom loopback mappings. --- spa/plugins/alsa/acp/channelmap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spa/plugins/alsa/acp/channelmap.h b/spa/plugins/alsa/acp/channelmap.h index 1d56bca5d..ee20801e3 100644 --- a/spa/plugins/alsa/acp/channelmap.h +++ b/spa/plugins/alsa/acp/channelmap.h @@ -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; }