Lines Matching refs:active_port
94 pa_device_port *active_port; member
705 const char *active_port; in handle_get_active_port() local
711 if (!d->active_port) { in handle_get_active_port()
723 active_port = pa_dbusiface_device_port_get_path(pa_hashmap_get(d->ports, d->active_port->name)); in handle_get_active_port()
725 pa_dbus_send_basic_variant_reply(conn, msg, DBUS_TYPE_OBJECT_PATH, &active_port); in handle_get_active_port()
741 if (!d->active_port) { in handle_set_active_port()
825 const char *active_port = NULL; in handle_get_all() local
884 if (d->active_port) in handle_get_all()
885 … active_port = pa_dbusiface_device_port_get_path(pa_hashmap_get(d->ports, d->active_port->name)); in handle_get_all()
921 if (active_port) in handle_get_all()
922 …roperty_handlers[PROPERTY_HANDLER_ACTIVE_PORT].property_name, DBUS_TYPE_OBJECT_PATH, &active_port); in handle_get_all()
1197 …new_active_port = (d->type == PA_DEVICE_TYPE_SINK) ? d->sink->active_port : d->source->active_port; in port_changed_cb()
1199 if (d->active_port != new_active_port) { in port_changed_cb()
1202 d->active_port = new_active_port; in port_changed_cb()
1203 … object_path = pa_dbusiface_device_port_get_path(pa_hashmap_get(d->ports, d->active_port->name)); in port_changed_cb()
1264 d->active_port = sink->active_port; in pa_dbusiface_device_new_sink()
1307 d->active_port = source->active_port; in pa_dbusiface_device_new_source()