/* Queue of pointers (weak references) to sink bt_components. */
GQueue *sinks_to_consume;
+ uint64_t mip_version;
+
/*
* Array of `struct bt_interrupter *`, each one owned by this.
* If any interrupter is set, then this graph is deemed
static inline
void bt_graph_set_can_consume(struct bt_graph *graph, bool can_consume)
{
- BT_ASSERT(graph);
+ BT_ASSERT_DBG(graph);
graph->can_consume = can_consume;
}
int status = BT_FUNC_STATUS_OK;
uint64_t i;
- BT_ASSERT(graph->config_state != BT_GRAPH_CONFIGURATION_STATE_FAULTY);
+ BT_ASSERT_DBG(graph->config_state !=
+ BT_GRAPH_CONFIGURATION_STATE_FAULTY);
if (G_LIKELY(graph->config_state ==
BT_GRAPH_CONFIGURATION_STATE_CONFIGURED)) {
"Unexpected returned status: status=%s",
bt_common_func_status_string(comp_status));
if (comp_status != BT_FUNC_STATUS_OK) {
- comp_status = BT_FUNC_STATUS_ERROR;
if (comp_status < 0) {
BT_LIB_LOGW_APPEND_CAUSE(
"Component's \"graph is configured\" method failed: "