mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
make proplist inheritance scheme automatic and implicit
This commit is contained in:
parent
e68e4a57bf
commit
47a2b17d01
6 changed files with 12 additions and 4 deletions
|
|
@ -158,6 +158,9 @@ pa_source* pa_source_new(
|
|||
if (!data->muted_is_set)
|
||||
data->muted = FALSE;
|
||||
|
||||
if (data->card)
|
||||
pa_proplist_update(data->proplist, PA_UPDATE_MERGE, data->card->proplist);
|
||||
|
||||
if (pa_hook_fire(&core->hooks[PA_CORE_HOOK_SOURCE_FIXATE], data) < 0) {
|
||||
pa_xfree(s);
|
||||
pa_namereg_unregister(core, name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue