mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
Remove SpaQueue, use SpaList instead
This commit is contained in:
parent
89bc235924
commit
d0f95fc323
20 changed files with 153 additions and 237 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue