PipeWire  0.3.33
latency-utils.h File Reference

Go to the source code of this file.

Data Structures

struct  spa_latency_info
 
struct  spa_process_latency_info
 

Macros

#define SPA_LATENCY_INFO(dir, ...)   (struct spa_latency_info) { .direction = (dir), ## __VA_ARGS__ }
 
#define SPA_PROCESS_LATENCY_INFO_INIT(...)   (struct spa_process_latency_info) { __VA_ARGS__ }
 

Functions

int spa_latency_info_compare (const struct spa_latency_info *a, struct spa_latency_info *b)
 
int spa_latency_info_combine (struct spa_latency_info *info, const struct spa_latency_info *other)
 
int spa_latency_parse (const struct spa_pod *latency, struct spa_latency_info *info)
 
struct spa_podspa_latency_build (struct spa_pod_builder *builder, uint32_t id, const struct spa_latency_info *info)
 
int spa_process_latency_parse (const struct spa_pod *latency, struct spa_process_latency_info *info)
 
struct spa_podspa_process_latency_build (struct spa_pod_builder *builder, uint32_t id, const struct spa_process_latency_info *info)
 
int spa_process_latency_info_add (const struct spa_process_latency_info *process, struct spa_latency_info *info)
 

Macro Definition Documentation

◆ SPA_LATENCY_INFO

#define SPA_LATENCY_INFO (   dir,
  ... 
)    (struct spa_latency_info) { .direction = (dir), ## __VA_ARGS__ }

◆ SPA_PROCESS_LATENCY_INFO_INIT

#define SPA_PROCESS_LATENCY_INFO_INIT (   ...)    (struct spa_process_latency_info) { __VA_ARGS__ }

Function Documentation

◆ spa_latency_build()

◆ spa_latency_info_combine()

◆ spa_latency_info_compare()

◆ spa_latency_parse()

◆ spa_process_latency_build()

◆ spa_process_latency_info_add()

int spa_process_latency_info_add ( const struct spa_process_latency_info process,
struct spa_latency_info info 
)
inline

◆ spa_process_latency_parse()