improve node io

Unify input and output io areas.
Add support for ranges in the io area.
Automatically recycle buffers in the output areas in process_output
Improve the mixer, add use_buffer support, use a queue of input buffers,
fix mixing, add support for ranges.
Fix mixer and v4l2 tests
This commit is contained in:
Wim Taymans 2017-04-03 14:56:04 +02:00
parent 29fbf2e841
commit 01c13adab5
28 changed files with 983 additions and 747 deletions

View file

@ -146,7 +146,7 @@ struct _SpaALSAState {
SpaPortInfo info;
SpaAllocParam *params[3];
uint8_t params_buffer[1024];
void *io;
SpaPortIO *io;
SpaALSABuffer buffers[MAX_BUFFERS];
unsigned int n_buffers;