PipeWire 1.1.0
Loading...
Searching...
No Matches
latency.h
Go to the documentation of this file.
1/* Simple Plugin API */
2/* SPDX-FileCopyrightText: Copyright © 2023 Wim Taymans */
3/* SPDX-License-Identifier: MIT */
4
5#ifndef SPA_PARAM_LATENY_H
6#define SPA_PARAM_LATENY_H
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
17#include <spa/param/param.h>
18
46};
51 float min_quantum;
52 float max_quantum;
53 uint32_t min_rate;
54 uint32_t max_rate;
55 uint64_t min_ns;
56 uint64_t max_ns;
57};
59#define SPA_LATENCY_INFO(dir,...) ((struct spa_latency_info) { .direction = (dir), ## __VA_ARGS__ })
72};
76 float quantum;
77 uint32_t rate;
78 uint64_t ns;
79};
80
81#define SPA_PROCESS_LATENCY_INFO_INIT(...) ((struct spa_process_latency_info) { __VA_ARGS__ })
87#ifdef __cplusplus
88} /* extern "C" */
89#endif
90
91#endif /* SPA_PARAM_LATENY_H */
spa_param_process_latency
Properties for SPA_TYPE_OBJECT_ParamProcessLatency.
Definition latency.h:73
spa_param_latency
Properties for SPA_TYPE_OBJECT_ParamLatency.
Definition latency.h:42
@ SPA_PARAM_PROCESS_LATENCY_rate
latency (Int) relative to graph rate
Definition latency.h:76
@ SPA_PARAM_PROCESS_LATENCY_START
Definition latency.h:74
@ SPA_PARAM_PROCESS_LATENCY_ns
latency (Long) in nanoseconds
Definition latency.h:77
@ SPA_PARAM_PROCESS_LATENCY_quantum
latency relative to quantum (Float)
Definition latency.h:75
@ SPA_PARAM_LATENCY_maxNs
max latency (Long) in nanoseconds
Definition latency.h:50
@ SPA_PARAM_LATENCY_minRate
min latency (Int) relative to graph rate
Definition latency.h:47
@ SPA_PARAM_LATENCY_minQuantum
min latency relative to quantum (Float)
Definition latency.h:45
@ SPA_PARAM_LATENCY_START
Definition latency.h:43
@ SPA_PARAM_LATENCY_maxRate
max latency (Int) relative to graph rate
Definition latency.h:48
@ SPA_PARAM_LATENCY_maxQuantum
max latency relative to quantum (Float)
Definition latency.h:46
@ SPA_PARAM_LATENCY_direction
direction, input/output (Id enum spa_direction)
Definition latency.h:44
@ SPA_PARAM_LATENCY_minNs
min latency (Long) in nanoseconds
Definition latency.h:49
spa_direction
Definition defs.h:106
spa/param/param.h
helper structure for managing latency objects
Definition latency.h:54
uint32_t min_rate
Definition latency.h:58
uint32_t max_rate
Definition latency.h:59
enum spa_direction direction
Definition latency.h:55
float max_quantum
Definition latency.h:57
float min_quantum
Definition latency.h:56
uint64_t min_ns
Definition latency.h:60
uint64_t max_ns
Definition latency.h:61
Helper structure for managing process latency objects.
Definition latency.h:81
float quantum
Definition latency.h:82
uint32_t rate
Definition latency.h:83
uint64_t ns
Definition latency.h:84