PipeWire 1.2.6
|
Data for a buffer this stays constant for a buffer. More...
#include <spa/buffer/buffer.h>
Data Fields | |
uint32_t | type |
memory type, one of enum spa_data_type, when allocating memory, the type contains a bitmask of allowed types. | |
uint32_t | flags |
data flags | |
int64_t | fd |
optional fd for data | |
uint32_t | mapoffset |
offset to map fd at, this is page aligned | |
uint32_t | maxsize |
max size of data | |
void * | data |
optional data pointer | |
struct spa_chunk * | chunk |
valid chunk of memory | |
Data for a buffer this stays constant for a buffer.
uint32_t spa_data::type |
memory type, one of enum spa_data_type, when allocating memory, the type contains a bitmask of allowed types.
SPA_ID_INVALID is a special value for the allocator to indicate that the other side did not explicitly specify any supported data types. It should probably use a memory type that does not require special handling in addition to simple mmap/munmap.
uint32_t spa_data::flags |
data flags
int64_t spa_data::fd |
optional fd for data
uint32_t spa_data::mapoffset |
offset to map fd at, this is page aligned
uint32_t spa_data::maxsize |
max size of data
void* spa_data::data |
optional data pointer
valid chunk of memory