5#ifndef PIPEWIRE_BUFFERS_H 
    6#define PIPEWIRE_BUFFERS_H 
   26#define PW_BUFFERS_FLAG_NONE            0 
   27#define PW_BUFFERS_FLAG_NO_MEM          (1<<0)   
   28#define PW_BUFFERS_FLAG_SHARED          (1<<1)   
   29#define PW_BUFFERS_FLAG_DYNAMIC         (1<<2)   
   30#define PW_BUFFERS_FLAG_SHARED_MEM      (1<<3)   
   31#define PW_BUFFERS_FLAG_IN_PRIORITY     (1<<4)   
   32#define PW_BUFFERS_FLAG_ASYNC           (1<<5)   
   42                struct spa_node *outnode, uint32_t out_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:182
void pw_buffers_clear(struct pw_buffers *buffers)
Definition buffers.c:350
uint32_t flags
flags
Definition buffers.h:49
uint32_t n_buffers
number of port buffers
Definition buffers.h:48
struct spa_buffer ** buffers
port buffers
Definition buffers.h:47
struct pw_memblock * mem
allocated buffer memory
Definition buffers.h:46
Memory block structure.
Definition mem.h:64
A Buffer.
Definition buffer.h:100