25#ifndef PIPEWIRE_BUFFERS_H
26#define PIPEWIRE_BUFFERS_H
46#define PW_BUFFERS_FLAG_NONE 0
47#define PW_BUFFERS_FLAG_NO_MEM (1<<0)
48#define PW_BUFFERS_FLAG_SHARED (1<<1)
49#define PW_BUFFERS_FLAG_DYNAMIC (1<<2)
50#define PW_BUFFERS_FLAG_SHARED_MEM (1<<3)
51#define PW_BUFFERS_FLAG_IN_PRIORITY (1<<4)
61 struct spa_node *outnode, uint32_t out_port_id,
62 struct spa_node *innode, uint32_t in_port_id,
int pw_buffers_negotiate(struct pw_context *context, uint32_t flags, struct spa_node *outnode, uint32_t out_port_id, struct spa_node *innode, uint32_t in_port_id, struct pw_buffers *result)
Definition: buffers.c:235
void pw_buffers_clear(struct pw_buffers *buffers)
Definition: buffers.c:361
Definition: src/pipewire/buffers.h:63
uint32_t flags
flags
Definition: src/pipewire/buffers.h:67
uint32_t n_buffers
number of port buffers
Definition: src/pipewire/buffers.h:66
struct spa_buffer ** buffers
port buffers
Definition: src/pipewire/buffers.h:65
struct pw_memblock * mem
allocated buffer memory
Definition: src/pipewire/buffers.h:64
Memory block structure.
Definition: src/pipewire/mem.h:83
A Buffer.
Definition: buffer/buffer.h:109
Definition: spa/include/spa/node/node.h:61