mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-09 13:29:59 -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
|
|
@ -160,6 +160,9 @@ pa_card *pa_card_new(pa_core *core, pa_card_new_data *data) {
|
|||
c->userdata = NULL;
|
||||
c->set_profile = NULL;
|
||||
|
||||
pa_device_init_description(c->proplist);
|
||||
pa_device_init_icon(c->proplist, TRUE);
|
||||
|
||||
pa_assert_se(pa_idxset_put(core->cards, c, &c->index) >= 0);
|
||||
|
||||
pa_log_info("Created %u \"%s\"", c->index, c->name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue