/* TODO handle more than 1 source and 1 sink. */
if (cfg->sources->len != 1 || cfg->sinks->len != 1) {
fprintf(stderr, "Unexpected configuration, aborting.../n");
/* TODO handle more than 1 source and 1 sink. */
if (cfg->sources->len != 1 || cfg->sinks->len != 1) {
fprintf(stderr, "Unexpected configuration, aborting.../n");