mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-09-18 15:31:37 +00:00
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:
parent
1ad54e8a26
commit
08e34a99fd
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue