PipeWire 1.2.1
Loading...
Searching...
No Matches
spa_chunk Struct Reference

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

#include <spa/buffer/buffer.h>

Data Fields

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

Detailed Description

Field Documentation

◆ 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.

Examples
audio-src.c, export-source.c, midi-src.c, tutorial4.c, video-dsp-src.c, video-src-alloc.c, video-src-fixate.c, video-src-reneg.c, and video-src.c.

◆ size

◆ stride

◆ flags

int32_t spa_chunk::flags

chunk flags

Examples
midi-src.c.

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