PipeWire 1.1.0
|
Buffer handling. More...
Files | |
file | buffers.h |
pipewire/buffers.h | |
Data Structures | |
struct | pw_buffers |
Macros | |
#define | PW_BUFFERS_FLAG_NONE 0 |
#define | PW_BUFFERS_FLAG_NO_MEM (1<<0) |
don't allocate buffer memory | |
#define | PW_BUFFERS_FLAG_SHARED (1<<1) |
buffers can be shared | |
#define | PW_BUFFERS_FLAG_DYNAMIC (1<<2) |
buffers have dynamic data | |
#define | PW_BUFFERS_FLAG_SHARED_MEM (1<<3) |
buffers need shared memory | |
#define | PW_BUFFERS_FLAG_IN_PRIORITY (1<<4) |
input parameters have priority | |
#define | PW_BUFFERS_FLAG_ASYNC (1<<5) |
one of the nodes is async | |
Functions | |
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) |
void | pw_buffers_clear (struct pw_buffers *buffers) |
Buffer handling.
#define PW_BUFFERS_FLAG_NONE 0 |
#define PW_BUFFERS_FLAG_NO_MEM (1<<0) |
don't allocate buffer memory
#define PW_BUFFERS_FLAG_SHARED (1<<1) |
buffers can be shared
#define PW_BUFFERS_FLAG_DYNAMIC (1<<2) |
buffers have dynamic data
#define PW_BUFFERS_FLAG_SHARED_MEM (1<<3) |
buffers need shared memory
#define PW_BUFFERS_FLAG_IN_PRIORITY (1<<4) |
input parameters have priority
#define PW_BUFFERS_FLAG_ASYNC (1<<5) |
one of the nodes is async
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 | ||
) |
void pw_buffers_clear | ( | struct pw_buffers * | buffers | ) |