stream: improve timing

Dequeue the input buffers so that we can calculate the available
bytes to read.
This commit is contained in:
Wim Taymans 2020-04-14 16:50:29 +02:00
parent 1d0ce27005
commit 30fac2b242
2 changed files with 111 additions and 88 deletions

View file

@ -331,6 +331,7 @@ struct pa_mem {
size_t maxsize;
size_t size;
size_t offset;
void *user_data;
};
#define MAX_BUFFERS 64u