+
+ in_port = bt_self_component_sink_borrow_input_port_by_name(self_comp_sink,
+ in_port_name);
+ if (!bt_port_is_connected(bt_port_input_as_port_const(
+ bt_self_component_port_input_as_port_input(in_port)))) {
+ BT_COMP_LOGE_APPEND_CAUSE(self_comp, "Single input port is not connected: "
+ "port-name=\"%s\"", in_port_name);
+ status = BT_COMPONENT_CLASS_SINK_GRAPH_IS_CONFIGURED_METHOD_STATUS_ERROR;
+ goto end;
+ }
+