Lines Matching defs:profile

30 #include "iface-card-profile.h"
98 static pa_dbus_arg_info get_profile_by_name_args[] = { { "name", "s", "in" }, { "profile", "o", "out" } };
116 static pa_dbus_arg_info active_profile_updated_args[] = { { "profile", "o", NULL } };
117 static pa_dbus_arg_info new_profile_args[] = { { "profile", "o", NULL } };
118 static pa_dbus_arg_info profile_available_changed_args[] = { { "profile", "o", NULL },
278 pa_dbusiface_card_profile *profile;
290 PA_HASHMAP_FOREACH(profile, c->profiles, state)
291 profiles[i++] = pa_dbusiface_card_profile_get_path(profile);
327 pa_dbusiface_card_profile *profile;
339 PA_HASHMAP_FOREACH(profile, c->profiles, state) {
340 if (pa_streq(pa_dbusiface_card_profile_get_path(profile), new_active_path)) {
341 new_active = profile;
347 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NOT_FOUND, "%s: No such profile.", new_active_path);
430 pa_dbusiface_card_profile *profile = NULL;
439 if (!(profile = pa_hashmap_get(c->profiles, profile_name))) {
440 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NOT_FOUND, "%s: No such profile on card %s.", profile_name, c->card->name);
444 profile_path = pa_dbusiface_card_profile_get_path(profile);
497 pa_card_profile *profile = call_data;
502 if (profile->card != c->card)
505 p = pa_dbusiface_card_profile_new(c, core, profile, c->next_profile_index++);
526 pa_card_profile *profile = call_data;
532 if (profile->card != c->card)
535 pa_assert_se((p = pa_hashmap_get(c->profiles, profile->name)));
538 available = profile->available != PA_AVAILABLE_NO;
557 pa_card_profile *profile;
574 PA_HASHMAP_FOREACH(profile, card->profiles, state) {
575 pa_dbusiface_card_profile *p = pa_dbusiface_card_profile_new(c, card->core, profile, c->next_profile_index++);