mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-20 08:56:56 -05:00
acp: mark the Pro profile with a flag
This commit is contained in:
parent
6116ef8484
commit
2eaac9b67a
2 changed files with 2 additions and 0 deletions
|
|
@ -322,6 +322,7 @@ static int add_pro_profile(pa_card *impl, uint32_t index)
|
|||
ap->profile.name = ap->name = pa_xstrdup("pro-audio");
|
||||
ap->profile.description = ap->description = pa_xstrdup(_("Pro Audio"));
|
||||
ap->profile.available = ACP_AVAILABLE_YES;
|
||||
ap->profile.flags = ACP_PROFILE_PRO;
|
||||
ap->output_mappings = pa_idxset_new(pa_idxset_trivial_hash_func, pa_idxset_trivial_compare_func);
|
||||
ap->input_mappings = pa_idxset_new(pa_idxset_trivial_hash_func, pa_idxset_trivial_compare_func);
|
||||
pa_hashmap_put(ps->profiles, ap->name, ap);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue