Remove SpaQueue, use SpaList instead

This commit is contained in:
Wim Taymans 2016-11-09 12:57:51 +01:00
parent 89bc235924
commit d0f95fc323
20 changed files with 153 additions and 237 deletions

View file

@ -30,7 +30,7 @@ extern "C" {
#include <spa/id-map.h>
#include <spa/log.h>
#include <spa/queue.h>
#include <spa/list.h>
#include <spa/node.h>
#include <spa/ringbuffer.h>
#include <spa/audio/format.h>
@ -55,7 +55,7 @@ struct _SpaALSABuffer {
SpaMetaHeader *h;
SpaMetaRingbuffer *rb;
bool outstanding;
SpaALSABuffer *next;
SpaList list;
};
typedef struct {
@ -109,8 +109,8 @@ struct _SpaALSAState {
bool use_ringbuffer;
SpaALSABuffer *ringbuffer;
SpaQueue free;
SpaQueue ready;
SpaList free;
SpaList ready;
size_t ready_offset;
bool started;