mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
idxset: Allow deep copying with pa_idxset_copy()
This commit is contained in:
parent
5c860fe06d
commit
d1fd31d50f
4 changed files with 9 additions and 13 deletions
|
|
@ -2574,7 +2574,7 @@ static bool element_create_settings(pa_alsa_element *e, pa_alsa_setting *templat
|
|||
|
||||
if (template) {
|
||||
s = pa_xnewdup(pa_alsa_setting, template, 1);
|
||||
s->options = pa_idxset_copy(template->options);
|
||||
s->options = pa_idxset_copy(template->options, NULL);
|
||||
s->name = pa_sprintf_malloc("%s+%s", template->name, o->name);
|
||||
s->description =
|
||||
(template->description[0] && o->description[0])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue