Rename buffer status to make it more symetrical

Only try to pull once in a timeout.
We can reuse the last returned state as our internal state in
audiomixer.
This commit is contained in:
Wim Taymans 2017-04-28 11:49:13 +02:00
parent 430b749d53
commit cc8a5da9c7
11 changed files with 58 additions and 65 deletions

View file

@ -855,7 +855,7 @@ spa_proxy_node_process_output (SpaNode *node)
pinos_log_trace ("%d %d %d %d", io->status, io->buffer_id, tmp.status, tmp.buffer_id);
if (io->status == SPA_RESULT_NEED_INPUT)
if (io->status == SPA_RESULT_NEED_BUFFER)
send_need = true;
*io = tmp;
@ -865,7 +865,7 @@ spa_proxy_node_process_output (SpaNode *node)
else if (flush)
do_flush (this);
return SPA_RESULT_HAVE_OUTPUT;
return SPA_RESULT_HAVE_BUFFER;
}
static SpaResult