Go to the documentation of this file.
25 #ifndef SPA_PARAM_LATENCY_UTILS_H
26 #define SPA_PARAM_LATENCY_UTILS_H
47 #define SPA_LATENCY_INFO(dir,...) (struct spa_latency_info) { .direction = (dir), ## __VA_ARGS__ }
121 #define SPA_PROCESS_LATENCY_INFO_INIT(...) (struct spa_process_latency_info) { __VA_ARGS__ }
@ SPA_PARAM_PROCESS_LATENCY_ns
latency (Long) in nanoseconds
Definition: param.h:194
#define SPA_POD_Float(val)
Definition: vararg.h:71
uint32_t max_rate
Definition: latency-utils.h:42
@ SPA_PARAM_LATENCY_minQuantum
min latency relative to quantum (Float)
Definition: param.h:181
spa_direction
Definition: defs.h:78
enum spa_direction direction
Definition: latency-utils.h:38
@ SPA_PARAM_LATENCY_minNs
min latency (Long) in nanoseconds
Definition: param.h:185
int spa_latency_info_combine(struct spa_latency_info *info, const struct spa_latency_info *other)
Definition: latency-utils.h:63
#define SPA_POD_Int(val)
Definition: vararg.h:59
#define spa_zero(x)
Definition: defs.h:303
uint64_t max_ns
Definition: latency-utils.h:44
Definition: latency-utils.h:37
int spa_latency_info_compare(const struct spa_latency_info *a, struct spa_latency_info *b)
Definition: latency-utils.h:50
int spa_latency_parse(const struct spa_pod *latency, struct spa_latency_info *info)
Definition: latency-utils.h:83
#define SPA_POD_OPT_Float(val)
Definition: parser.h:523
@ SPA_PARAM_LATENCY_direction
direction, input/output (Id enum spa_direction)
Definition: param.h:180
uint32_t min_rate
Definition: latency-utils.h:41
float max_quantum
Definition: latency-utils.h:40
@ SPA_PARAM_LATENCY_maxRate
max latency (Int) relative to rate
Definition: param.h:184
@ SPA_PARAM_PROCESS_LATENCY_rate
latency (Int) relative to rate
Definition: param.h:193
#define SPA_POD_OPT_Int(val)
Definition: parser.h:521
@ SPA_PARAM_LATENCY_maxNs
max latency (Long) in nanoseconds
Definition: param.h:186
uint64_t min_ns
Definition: latency-utils.h:43
Definition: latency-utils.h:115
int spa_process_latency_parse(const struct spa_pod *latency, struct spa_process_latency_info *info)
Definition: latency-utils.h:124
uint32_t rate
Definition: latency-utils.h:117
struct spa_pod * spa_latency_build(struct spa_pod_builder *builder, uint32_t id, const struct spa_latency_info *info)
Definition: latency-utils.h:102
struct spa_pod * spa_process_latency_build(struct spa_pod_builder *builder, uint32_t id, const struct spa_process_latency_info *info)
Definition: latency-utils.h:138
@ SPA_TYPE_OBJECT_ParamProcessLatency
Definition: build-12683127/doc/spa/utils/type.h:99
@ SPA_PARAM_LATENCY_maxQuantum
max latency relative to quantum (Float)
Definition: param.h:182
#define spa_pod_parse_object(pod, type, id,...)
Definition: parser.h:560
float quantum
Definition: latency-utils.h:116
#define spa_pod_builder_add_object(b, type, id,...)
Definition: builder.h:650
@ SPA_TYPE_OBJECT_ParamLatency
Definition: build-12683127/doc/spa/utils/type.h:98
#define SPA_POD_Long(val)
Definition: vararg.h:65
@ SPA_PARAM_LATENCY_minRate
min latency (Int) relative to rate
Definition: param.h:183
uint64_t ns
Definition: latency-utils.h:118
int spa_process_latency_info_add(const struct spa_process_latency_info *process, struct spa_latency_info *info)
Definition: latency-utils.h:149
#define SPA_POD_Id(val)
Definition: vararg.h:56
#define SPA_POD_OPT_Long(val)
Definition: parser.h:522
@ SPA_PARAM_PROCESS_LATENCY_quantum
latency relative to quantum (Float)
Definition: param.h:192
float min_quantum
Definition: latency-utils.h:39