PipeWire 1.0.5
Loading...
Searching...
No Matches
latency-types.h
Go to the documentation of this file.
1/* Simple Plugin API */
2/* SPDX-FileCopyrightText: Copyright © 2018 Wim Taymans */
3/* SPDX-License-Identifier: MIT */
4
5#ifndef SPA_PARAM_LATENCY_TYPES_H
6#define SPA_PARAM_LATENCY_TYPES_H
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
17#include <spa/utils/enum-types.h>
19#include <spa/param/latency.h>
20
21#define SPA_TYPE_INFO_PARAM_Latency SPA_TYPE_INFO_PARAM_BASE "Latency"
22#define SPA_TYPE_INFO_PARAM_LATENCY_BASE SPA_TYPE_INFO_PARAM_Latency ":"
23
24static const struct spa_type_info spa_type_param_latency[] = {
33 { 0, 0, NULL, NULL },
34};
35
36#define SPA_TYPE_INFO_PARAM_ProcessLatency SPA_TYPE_INFO_PARAM_BASE "ProcessLatency"
37#define SPA_TYPE_INFO_PARAM_PROCESS_LATENCY_BASE SPA_TYPE_INFO_PARAM_ProcessLatency ":"
38
39static const struct spa_type_info spa_type_param_process_latency[] = {
44 { 0, 0, NULL, NULL },
45};
51#ifdef __cplusplus
52} /* extern "C" */
53#endif
54
55#endif /* SPA_PARAM_LATENCY_TYPES_H */
#define SPA_TYPE_INFO_PARAM_PROCESS_LATENCY_BASE
Definition latency-types.h:46
static const struct spa_type_info spa_type_param_latency[]
Definition latency-types.h:31
static const struct spa_type_info spa_type_param_process_latency[]
Definition latency-types.h:48
static const struct spa_type_info spa_type_param[]
Definition param-types.h:32
#define SPA_TYPE_INFO_PARAM_LATENCY_BASE
Definition latency-types.h:29
@ SPA_PARAM_PROCESS_LATENCY_rate
latency (Int) relative to rate
Definition latency.h:54
@ SPA_PARAM_PROCESS_LATENCY_START
Definition latency.h:52
@ SPA_PARAM_PROCESS_LATENCY_ns
latency (Long) in nanoseconds
Definition latency.h:55
@ SPA_PARAM_PROCESS_LATENCY_quantum
latency relative to quantum (Float)
Definition latency.h:53
@ SPA_PARAM_LATENCY_maxNs
max latency (Long) in nanoseconds
Definition latency.h:33
@ SPA_PARAM_LATENCY_minRate
min latency (Int) relative to rate
Definition latency.h:30
@ SPA_PARAM_LATENCY_minQuantum
min latency relative to quantum (Float)
Definition latency.h:28
@ SPA_PARAM_LATENCY_START
Definition latency.h:26
@ SPA_PARAM_LATENCY_maxRate
max latency (Int) relative to rate
Definition latency.h:31
@ SPA_PARAM_LATENCY_maxQuantum
max latency relative to quantum (Float)
Definition latency.h:29
@ SPA_PARAM_LATENCY_direction
direction, input/output (Id enum spa_direction)
Definition latency.h:27
@ SPA_PARAM_LATENCY_minNs
min latency (Long) in nanoseconds
Definition latency.h:32
@ SPA_TYPE_Int
Definition type.h:34
@ SPA_TYPE_Long
Definition type.h:35
@ SPA_TYPE_Float
Definition type.h:36
@ SPA_TYPE_Id
Definition type.h:33
spa/param/latency.h
spa/param/param-types.h
Definition type.h:143
uint32_t type
Definition type.h:144