mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-09 13:29:59 -05:00
dbusiface-card-profile: Implement the CardProfile D-Bus interface.
This commit is contained in:
parent
acad506328
commit
8c8df77d2a
4 changed files with 163 additions and 3 deletions
|
|
@ -516,7 +516,7 @@ pa_dbusiface_card *pa_dbusiface_card_new(pa_dbusiface_core *core, pa_card *card)
|
|||
void *state = NULL;
|
||||
|
||||
PA_HASHMAP_FOREACH(profile, card->profiles, state) {
|
||||
pa_dbusiface_card_profile *p = pa_dbusiface_card_profile_new(c, profile, c->next_profile_index++);
|
||||
pa_dbusiface_card_profile *p = pa_dbusiface_card_profile_new(c, card->core, profile, c->next_profile_index++);
|
||||
pa_hashmap_put(c->profiles, pa_dbusiface_card_profile_get_name(p), p);
|
||||
}
|
||||
pa_assert_se(c->active_profile = card->active_profile);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue