PipeWire
0.3.33
|
Data for a buffer this stays constant for a buffer. More...
Data Fields | |
uint32_t | type |
memory type, one of enum spa_data_type, when allocating memory, the type contains a bitmask of allowed types. More... | |
uint32_t | flags |
data flags More... | |
int64_t | fd |
optional fd for data More... | |
uint32_t | mapoffset |
offset to map fd at More... | |
uint32_t | maxsize |
max size of data More... | |
void * | data |
optional data pointer More... | |
struct spa_chunk * | chunk |
valid chunk of memory More... | |
Data for a buffer this stays constant for a buffer.
struct spa_chunk* spa_data::chunk |
valid chunk of memory
Referenced by spa_buffer_alloc_layout(), and spa_debug_buffer().
void* spa_data::data |
optional data pointer
Referenced by spa_buffer_alloc_layout(), and spa_debug_buffer().
int64_t spa_data::fd |
optional fd for data
Referenced by spa_debug_buffer().
uint32_t spa_data::flags |
data flags
Referenced by spa_debug_buffer().
uint32_t spa_data::mapoffset |
offset to map fd at
Referenced by spa_debug_buffer().
uint32_t spa_data::maxsize |
max size of data
Referenced by spa_buffer_alloc_fill_info(), spa_buffer_alloc_layout(), and spa_debug_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.
Referenced by spa_debug_buffer().