PipeWire 0.3.65
latency-types.h
Go to the documentation of this file.
1/* Simple Plugin API
2 *
3 * Copyright © 2018 Wim Taymans
4 *
5 * Permission is hereby granted, free of charge, to any person obtaining a
6 * copy of this software and associated documentation files (the "Software"),
7 * to deal in the Software without restriction, including without limitation
8 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9 * and/or sell copies of the Software, and to permit persons to whom the
10 * Software is furnished to do so, subject to the following conditions:
11 *
12 * The above copyright notice and this permission notice (including the next
13 * paragraph) shall be included in all copies or substantial portions of the
14 * Software.
15 *
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
23 */
24
25#ifndef SPA_PARAM_LATENCY_TYPES_H
26#define SPA_PARAM_LATENCY_TYPES_H
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
37#include <spa/utils/enum-types.h>
39#include <spa/param/latency.h>
40
41#define SPA_TYPE_INFO_PARAM_Latency SPA_TYPE_INFO_PARAM_BASE "Latency"
42#define SPA_TYPE_INFO_PARAM_LATENCY_BASE SPA_TYPE_INFO_PARAM_Latency ":"
43
44static const struct spa_type_info spa_type_param_latency[] = {
53 { 0, 0, NULL, NULL },
54};
55
56#define SPA_TYPE_INFO_PARAM_ProcessLatency SPA_TYPE_INFO_PARAM_BASE "ProcessLatency"
57#define SPA_TYPE_INFO_PARAM_PROCESS_LATENCY_BASE SPA_TYPE_INFO_PARAM_ProcessLatency ":"
58
59static const struct spa_type_info spa_type_param_process_latency[] = {
64 { 0, 0, NULL, NULL },
65};
71#ifdef __cplusplus
72} /* extern "C" */
73#endif
74
75#endif /* SPA_PARAM_LATENCY_TYPES_H */
#define SPA_TYPE_INFO_PARAM_PROCESS_LATENCY_BASE
Definition: latency-types.h:66
static const struct spa_type_info spa_type_param_latency[]
Definition: latency-types.h:51
static const struct spa_type_info spa_type_param_process_latency[]
Definition: latency-types.h:68
static const struct spa_type_info spa_type_param[]
Definition: param-types.h:52
#define SPA_TYPE_INFO_PARAM_LATENCY_BASE
Definition: latency-types.h:49
@ SPA_PARAM_PROCESS_LATENCY_rate
latency (Int) relative to rate
Definition: latency.h:74
@ SPA_PARAM_PROCESS_LATENCY_START
Definition: latency.h:72
@ SPA_PARAM_PROCESS_LATENCY_ns
latency (Long) in nanoseconds
Definition: latency.h:75
@ SPA_PARAM_PROCESS_LATENCY_quantum
latency relative to quantum (Float)
Definition: latency.h:73
@ SPA_PARAM_LATENCY_maxNs
max latency (Long) in nanoseconds
Definition: latency.h:53
@ SPA_PARAM_LATENCY_minRate
min latency (Int) relative to rate
Definition: latency.h:50
@ SPA_PARAM_LATENCY_minQuantum
min latency relative to quantum (Float)
Definition: latency.h:48
@ SPA_PARAM_LATENCY_START
Definition: latency.h:46
@ SPA_PARAM_LATENCY_maxRate
max latency (Int) relative to rate
Definition: latency.h:51
@ SPA_PARAM_LATENCY_maxQuantum
max latency relative to quantum (Float)
Definition: latency.h:49
@ SPA_PARAM_LATENCY_direction
direction, input/output (Id enum spa_direction)
Definition: latency.h:47
@ SPA_PARAM_LATENCY_minNs
min latency (Long) in nanoseconds
Definition: latency.h:52
@ SPA_TYPE_Int
Definition: spa/include/spa/utils/type.h:54
@ SPA_TYPE_Long
Definition: spa/include/spa/utils/type.h:55
@ SPA_TYPE_Float
Definition: spa/include/spa/utils/type.h:56
@ SPA_TYPE_Id
Definition: spa/include/spa/utils/type.h:53
spa/param/latency.h
spa/param/param-types.h
Definition: spa/include/spa/utils/type.h:162