mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
acp: don't add pro profile for UCM
For UCM, we can just as well make a use case in the UCM file.
This commit is contained in:
parent
ca10c6470f
commit
38e0ff55cd
1 changed files with 2 additions and 1 deletions
|
|
@ -411,7 +411,8 @@ static void add_profiles(pa_card *impl)
|
|||
ap->profile.flags = ACP_PROFILE_OFF;
|
||||
pa_hashmap_put(impl->profiles, ap->name, ap);
|
||||
|
||||
add_pro_profile(impl, impl->card.index);
|
||||
if (!impl->use_ucm)
|
||||
add_pro_profile(impl, impl->card.index);
|
||||
|
||||
PA_HASHMAP_FOREACH(ap, impl->profile_set->profiles, state) {
|
||||
pa_alsa_mapping *m;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue