Lines Matching refs:active_port
87 if (!sink->active_port) in profile_good_for_output()
90 …if ((sink->active_port->available != PA_AVAILABLE_NO) && (sink->active_port->priority >= port->pri… in profile_good_for_output()
119 if (!source->active_port) in profile_good_for_input()
122 …if ((source->active_port->available != PA_AVAILABLE_NO) && (source->active_port->priority >= port-… in profile_good_for_input()
225 …pp.is_port_active = (pp.sink && pp.sink->active_port == port) || (pp.source && pp.source->active_p… in find_port_pointers()
337 …if (port->direction == PA_DIRECTION_INPUT && pp.source && !pp.source->active_port->availability_gr… in port_available_hook_callback()
434 pa_device_port *p = new_sink_source(new_data->ports, new_data->active_port); in sink_new_hook_callback()
445 pa_device_port *p = new_sink_source(new_data->ports, new_data->active_port); in source_new_hook_callback()
499 pa_card_set_preferred_port(card, PA_DIRECTION_INPUT, source->active_port); in update_preferred_input_port()
535 pa_card_set_preferred_port(card, PA_DIRECTION_OUTPUT, sink->active_port); in update_preferred_output_port()
563 pa_card_set_preferred_port(source->card, PA_DIRECTION_INPUT, source->active_port); in source_port_changed_callback()
572 pa_card_set_preferred_port(sink->card, PA_DIRECTION_OUTPUT, sink->active_port); in sink_port_changed_callback()