PipeWire  0.3.33
spa_chunk Struct Reference

Chunk of memory, can change for each buffer. More...

Data Fields

uint32_t offset
 offset of valid data. More...
 
uint32_t size
 size of valid data. More...
 
int32_t stride
 stride of valid data More...
 
int32_t flags
 chunk flags More...
 

Detailed Description

Chunk of memory, can change for each buffer.

Field Documentation

◆ flags

int32_t spa_chunk::flags

chunk flags

◆ offset

uint32_t spa_chunk::offset

offset of valid data.

Should be taken modulo the data maxsize to get the offset in the data memory.

Referenced by spa_debug_buffer().

◆ size

uint32_t spa_chunk::size

size of valid data.

Should be clamped to maxsize.

Referenced by spa_buffer_alloc_fill_info(), spa_buffer_alloc_layout(), spa_buffer_find_meta_data(), and spa_debug_buffer().

◆ stride

int32_t spa_chunk::stride

stride of valid data

Referenced by spa_debug_buffer().


The documentation for this struct was generated from the following file: