Lines Matching refs:path
949 pa_log_info("Updating mixer path for %s: %s", profile, port->name);
951 data->path = pa_hashmap_get(data->paths, profile);
957 pa_alsa_path *path;
984 PA_HASHMAP_FOREACH_KV(profile, path, data->paths, state2) {
985 if (pa_alsa_path_probe(path, NULL, mixer_handle, ignore_dB) < 0) {
986 pa_log_warn("Could not probe path: %s, using s/w volume", path->name);
988 } else if (!path->has_volume && !path->has_mute) {
989 pa_log_warn("Path %s is not a volume or mute control", path->name);
992 pa_log_debug("Set up h/w %s using '%s' for %s:%s", path->has_volume ? "volume" : "mute",
993 path->name, profile, port->name);
1118 pa_alsa_path *path = pa_alsa_path_synthesize(vol->mixer_elem,
1121 if (!path)
1125 pa_alsa_element *e = pa_alsa_element_get(path, vol->master_elem, false);
1130 pa_hashmap_put(data->paths, pa_xstrdup(profile), path);
1132 /* Add path also to already created empty path set */
1135 pa_hashmap_put(dev->playback_mapping->output_path_set->paths, pa_xstrdup(vol->mixer_elem), path);
1137 pa_hashmap_put(dev->capture_mapping->input_path_set->paths, pa_xstrdup(vol->mixer_elem), path);
1346 * fails. The path for the current profile is cached in
1347 * pa_alsa_ucm_port_data.path, which is not cleared by probe_volumes() if
1348 * the path gets removed, so we have to call update_mixer_paths() here to
1349 * unset the cached path if needed. */
1463 /* create empty path set for the future path additions */