Lines Matching defs:ports
31 PA_MODULE_DESCRIPTION("Switches ports and profiles when devices are plugged/unplugged");
221 if (port == pa_hashmap_get(pp.sink->ports, port->name))
227 if (port == pa_hashmap_get(pp.source->ports, port->name))
272 PA_HASHMAP_FOREACH(p, port->card->ports, state) {
332 * to record sound since there is no source for these 2 ports. This issue
339 /* Not part of a group of ports, so likely not a combination port */
345 /* Switch the headphone port, the input ports without source and the
346 * input ports their source->active_port is part of a group of ports.
419 PA_HASHMAP_FOREACH(port, card->ports, state2) {
426 static pa_device_port *new_sink_source(pa_hashmap *ports, const char *name) {
431 if (!ports)
434 p = pa_hashmap_get(ports, name);
436 PA_HASHMAP_FOREACH(i, ports, state)
444 pa_assert_se(p = pa_device_port_find_best(ports));
450 pa_device_port *p = new_sink_source(new_data->ports, new_data->active_port);
461 pa_device_port *p = new_sink_source(new_data->ports, new_data->active_port);