Lines Matching defs:profile
942 static void update_mixer_paths(pa_hashmap *ports, const char *profile) {
949 pa_log_info("Updating mixer path for %s: %s", profile, port->name);
951 data->path = pa_hashmap_get(data->paths, profile);
961 const char *profile, *mdev, *mdev2;
984 PA_HASHMAP_FOREACH_KV(profile, path, data->paths, state2) {
987 pa_hashmap_remove(data->paths, profile);
990 pa_hashmap_remove(data->paths, profile);
993 path->name, profile, port->name);
1024 const char *profile;
1117 PA_HASHMAP_FOREACH_KV(profile, vol, is_sink ? dev->playback_volumes : dev->capture_volumes, state) {
1130 pa_hashmap_put(data->paths, pa_xstrdup(profile), path);
1152 pa_log_debug("Adding profile %s to port %s.", cp->name, port->name);
1345 /* probe_volumes() removes per-profile paths from ports if probing them
1346 * fails. The path for the current profile is cached in
1376 /* Change UCM verb and device to match selected card profile */
1379 const char *profile;
1385 profile = new_profile ? new_profile : SND_USE_CASE_VERB_INACTIVE;
1387 profile = new_profile;
1392 pa_log_info("Set UCM verb to %s", profile);
1393 if ((snd_use_case_set(ucm->ucm_mgr, "_verb", profile)) < 0) {
1394 pa_log("Failed to set verb %s", profile);
1403 if (pa_streq(verb_name, profile)) {
1409 update_mixer_paths(card->ports, profile);
1795 /* TODO: get profile priority from policy management */
2075 /* create a profile for each verb */