Use graph to schedule things

Make real spa_graph nodes and ports and schedule those. This makes
it possible to add explicit tee and mixers in the real graph.
Rework the way we add and remove ports and nodes from the graph.
Remove confusing pw_port_link and merge core with pw_link_new()
Move scheduling in separate files, add some more graph-schedulers.
This commit is contained in:
Wim Taymans 2017-06-30 19:32:11 +02:00
parent 7297c18839
commit d2f877912a
19 changed files with 845 additions and 428 deletions

View file

@ -782,7 +782,10 @@ static int spa_proxy_node_process_input(struct spa_node *node)
}
send_have_output(this);
return SPA_RESULT_OK;
if (this->callbacks->need_input)
return SPA_RESULT_OK;
else
return SPA_RESULT_NEED_BUFFER;
}
static int spa_proxy_node_process_output(struct spa_node *node)