PipeWire: spa_chunk Struct Reference

PipeWire 0.3.34

Data Fields
spa_chunk Struct Reference
SPA Buffers

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(), 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:

- buffer/buffer.h