mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
buffer: improve memory management
Add refcounting to buffers. Use static memory on ports for buffer input and output memory. Improve negotiation, let format and properties be negotiated on ports as the data passes. Improve some debug info.
This commit is contained in:
parent
4a5ed1e1f5
commit
0f67434ae8
21 changed files with 368 additions and 334 deletions
|
|
@ -73,6 +73,7 @@ typedef struct {
|
|||
gint max_fds;
|
||||
gpointer free_fds;
|
||||
gsize magic;
|
||||
gint refcount;
|
||||
} PinosStackBuffer;
|
||||
|
||||
#define PSB(b) ((PinosStackBuffer *) (b))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue