Lines Matching defs:path
156 pa_alsa_jack *pa_alsa_jack_new(pa_alsa_path *path, const char *mixer_device_name, const char *name, int index) {
162 jack->path = path;
1482 pa_log_debug("Activating path %s", p->name);
1491 * selecting a path, so we ignore the return value.
1601 e->path->req_any_present |= (e->volume_use != PA_ALSA_VOLUME_IGNORE);
1604 e->path->req_any_present |= (e->switch_use != PA_ALSA_SWITCH_IGNORE);
1607 e->path->req_any_present |= (e->enumeration_use != PA_ALSA_ENUMERATION_IGNORE);
1610 e->path->req_any_present |=
1623 e->path->req_any_present |= (o->required_any != PA_ALSA_REQUIRED_IGNORE) &&
1765 pa_log_warn("Volume limit for element %s of path %s is invalid: %li isn't within the valid range "
1767 buf, e->path->name, e->volume_limit, e->min_volume + 1, e->max_volume);
1794 pa_log_warn("Override map for mono element %s is invalid, ignoring override map", e->path->name);
1868 pa_log_warn("Channel map for element %s is invalid", e->path->name);
1871 pa_log_warn("Override map for element %s has empty result, ignoring override map", e->path->name);
1885 pa_assert(e->path);
1969 pa_assert(j->path);
1977 * module-alsa-sink/source synthesizes a path, and those
1997 j->path->req_any_present = true;
2038 e->path = p;
2257 pa_alsa_path *path;
2260 path = state->userdata;
2264 path->device_port_type = device_port_types[idx].type;
2273 pa_alsa_path *path;
2276 path = state->userdata;
2279 path->autodetect_eld_device = false;
2280 path->eld_device = eld_device;
2285 path->autodetect_eld_device = true;
2286 path->eld_device = -1;
2381 e->path->has_req_any |= (req != PA_ALSA_REQUIRED_IGNORE);
2385 o->element->path->has_req_any |= (req != PA_ALSA_REQUIRED_IGNORE);
2389 j->path->has_req_any |= (req != PA_ALSA_REQUIRED_IGNORE);
2630 pa_alsa_path *path;
2636 path = state->userdata;
2637 if (!(jack = jack_get(path, state->section))) {
2771 // pa_log_debug("Element %s, path %s: r=%d, r-any=%d, r-abs=%d", e->alsa_name, e->path->name, e->required, e->required_any, e->required_absent);
2982 pa_log_info("Loading path config: %s", fn);
3020 e->path = p;
3151 PA_LLIST_INSERT_AFTER(pa_alsa_setting, e->path->settings, e->path->last_setting, s);
3153 e->path->last_setting = s;
3185 pa_log_debug("Probing path '%s'", p->name);
3240 pa_log_info("Zeroing volume of %s on path '%s'", buf, p->name);
3246 pa_log_info("Ignoring volume of %s on path '%s' (missing dB info)", buf, p->name);
3257 pa_log_debug("Skipping path '%s', none of required-any elements preset.", p->name);
3420 pa_alsa_path *path;
3425 if ((path = pa_hashmap_get(ps->output_paths, path_name)))
3426 return path;
3431 static void profile_set_add_path(pa_alsa_profile_set *ps, pa_alsa_path *path) {
3433 pa_assert(path);
3435 switch (path->direction) {
3437 pa_assert_se(pa_hashmap_put(ps->output_paths, path->name, path) >= 0);
3441 pa_assert_se(pa_hashmap_put(ps->input_paths, path->name, path) >= 0);
3494 pa_log("Configuration error: Path %s is used both as an input and as an output path.", p->name);
3544 e->path = p;
3767 /* If we only have one path, then don't bother */
3827 pa_log_debug("Removing path '%s' as it is a subset of '%s'.", p->name, p2->name);
4616 pa_log("Mapping %s must have either mixer path or mixer element, not both.", m->name);
5359 pa_alsa_path *path,
5367 pa_assert(path);
5378 pa_device_port_new_data_set_direction(&port_data, path->direction == PA_ALSA_DIRECTION_OUTPUT ? PA_DIRECTION_OUTPUT : PA_DIRECTION_INPUT);
5379 pa_device_port_new_data_set_type(&port_data, path->device_port_type);
5380 pa_device_port_new_data_set_availability_group(&port_data, path->availability_group);
5386 pa_proplist_update(p->proplist, PA_UPDATE_REPLACE, path->proplist);
5389 /* Ownership of the path and setting is not transferred to the port data, so we don't deal with freeing them */
5390 data->path = path;
5392 path->port = p;
5413 pa_alsa_path *path;
5421 PA_HASHMAP_FOREACH(path, ps->paths, state) {
5422 if (!path->settings || !path->settings->next) {
5425 pa_device_port *port = device_port_alsa_init(ports, path->name,
5426 path->description, path, path->settings, cp, extra, core);
5427 port->priority = path->priority * 100;
5431 PA_LLIST_FOREACH(s, path->settings) {
5435 n = pa_sprintf_malloc("%s;%s", path->name, s->name);
5438 d = pa_sprintf_malloc("%s / %s", path->description, s->description);
5440 d = pa_xstrdup(path->description);
5442 port = device_port_alsa_init(ports, n, d, path, s, cp, extra, core);
5443 port->priority = path->priority * 100 + s->priority;