mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-22 08:56:52 -05:00
add logic for initializing a useful icon name
This commit is contained in:
parent
784ac5b0da
commit
671b927955
10 changed files with 95 additions and 20 deletions
|
|
@ -163,6 +163,9 @@ pa_source* pa_source_new(
|
|||
if (data->card)
|
||||
pa_proplist_update(data->proplist, PA_UPDATE_MERGE, data->card->proplist);
|
||||
|
||||
pa_device_init_description(data->proplist);
|
||||
pa_device_init_icon(data->proplist, FALSE);
|
||||
|
||||
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