PipeWire  0.1.5.1
mem.h File Reference
Include dependency graph for mem.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  pw_memblock
 Memory block structure. More...
 

Macros

#define PW_MEMBLOCK_FLAG_MAP_READWRITE   (PW_MEMBLOCK_FLAG_MAP_READ | PW_MEMBLOCK_FLAG_MAP_WRITE)
 

Functions

int pw_memblock_alloc (enum pw_memblock_flags flags, size_t size, struct pw_memblock *mem)
 
int pw_memblock_map (struct pw_memblock *mem)
 
void pw_memblock_free (struct pw_memblock *mem)
 

Macro Definition Documentation

◆ PW_MEMBLOCK_FLAG_MAP_READWRITE

#define PW_MEMBLOCK_FLAG_MAP_READWRITE   (PW_MEMBLOCK_FLAG_MAP_READ | PW_MEMBLOCK_FLAG_MAP_WRITE)

Function Documentation

◆ pw_memblock_alloc()

int pw_memblock_alloc ( enum pw_memblock_flags  flags,
size_t  size,
struct pw_memblock mem 
)

◆ pw_memblock_free()

void pw_memblock_free ( struct pw_memblock mem)

Referenced by pw_port_set_format().

◆ pw_memblock_map()

int pw_memblock_map ( struct pw_memblock mem)