implement alsa capture with timers

Add timer based alsa capture support
Improve format negotiation in alsa
Better track buffer owner in the links
This commit is contained in:
Wim Taymans 2017-03-30 17:30:28 +02:00
parent 73ec9e2d24
commit 7b8bb8da6b
10 changed files with 190 additions and 337 deletions

View file

@ -709,6 +709,7 @@ spa_v4l2_source_node_port_use_buffers (SpaNode *node,
return SPA_RESULT_NO_FORMAT;
if (state->n_buffers) {
spa_v4l2_stream_off (this);
if ((res = spa_v4l2_clear_buffers (this)) < 0)
return res;
}