PipeWire 1.2.5
Loading...
Searching...
No Matches

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)
 

Detailed Description

Buffer handling

Macro Definition Documentation

◆ PW_BUFFERS_FLAG_NONE

#define PW_BUFFERS_FLAG_NONE   0

◆ PW_BUFFERS_FLAG_NO_MEM

#define PW_BUFFERS_FLAG_NO_MEM   (1<<0)

don't allocate buffer memory

◆ PW_BUFFERS_FLAG_SHARED

#define PW_BUFFERS_FLAG_SHARED   (1<<1)

buffers can be shared

◆ PW_BUFFERS_FLAG_DYNAMIC

#define PW_BUFFERS_FLAG_DYNAMIC   (1<<2)

buffers have dynamic data

◆ PW_BUFFERS_FLAG_SHARED_MEM

#define PW_BUFFERS_FLAG_SHARED_MEM   (1<<3)

buffers need shared memory

◆ PW_BUFFERS_FLAG_IN_PRIORITY

#define PW_BUFFERS_FLAG_IN_PRIORITY   (1<<4)

input parameters have priority

◆ PW_BUFFERS_FLAG_ASYNC

#define PW_BUFFERS_FLAG_ASYNC   (1<<5)

one of the nodes is async

Function Documentation

◆ pw_buffers_negotiate()

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 )

◆ pw_buffers_clear()

void pw_buffers_clear ( struct pw_buffers * buffers)