PipeWire  1.0.5
props-types.h
1 /* Simple Plugin API */
2 /* SPDX-FileCopyrightText: Copyright © 2018 Wim Taymans */
3 /* SPDX-License-Identifier: MIT */
4 
5 #ifndef SPA_PARAM_PROPS_TYPES_H
6 #define SPA_PARAM_PROPS_TYPES_H
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
17 #include <spa/param/param-types.h>
18 
19 #include <spa/param/bluetooth/type-info.h>
20 
22 #define SPA_TYPE_INFO_Props SPA_TYPE_INFO_PARAM_BASE "Props"
23 #define SPA_TYPE_INFO_PROPS_BASE SPA_TYPE_INFO_Props ":"
24 
25 static const struct spa_type_info spa_type_props[] = {
42  { SPA_PROP_bluetoothOffloadActive, SPA_TYPE_Bool, SPA_TYPE_INFO_PROPS_BASE "bluetoothOffloadActive", NULL },
43 
62  { SPA_PROP_volumeRampStepSamples, SPA_TYPE_Int, SPA_TYPE_INFO_PROPS_BASE "volumeRampStepSamples", NULL },
64  { SPA_PROP_volumeRampStepTime, SPA_TYPE_Int, SPA_TYPE_INFO_PROPS_BASE "volumeRampStepTime", NULL },
66 
75 
77  { 0, 0, NULL, NULL },
78 };
79 
81 #define SPA_TYPE_INFO_PropInfo SPA_TYPE_INFO_PARAM_BASE "PropInfo"
82 #define SPA_TYPE_INFO_PROP_INFO_BASE SPA_TYPE_INFO_PropInfo ":"
83 
84 static const struct spa_type_info spa_type_prop_info[] = {
93  { 0, 0, NULL, NULL },
94 };
95 
100 #ifdef __cplusplus
101 } /* extern "C" */
102 #endif
103 
104 #endif /* SPA_PARAM_PROPS_TYPES_H */
Definition: props.h:50
mute (Bool)
Definition: props.h:82
Definition: props.h:48
simple control params (Struct( (String : key, Pod : value)*))
Definition: props.h:115
mute (Bool)
Definition: props.h:68
Definition: props.h:49
Definition: props.h:54
Definition: props.h:69
Definition: props.h:65
Definition: props.h:109
static const struct spa_type_info spa_type_bluetooth_audio_codec[]
Definition: type-info.h:29
Definition: props.h:71
Definition: props.h:70
static const struct spa_type_info spa_type_prop_iec958_codec[]
Definition: param-types.h:72
Definition: props.h:112
Definition: props.h:110
associated id of the property
Definition: props.h:27
mute (Bool) applied in software
Definition: props.h:86
Definition: type.h:38
enabled IEC958 (S/PDIF) codecs, (Array (Id enum spa_audio_iec958_codec)
Definition: props.h:93
delay adjustment
Definition: props.h:85
an unknown property
Definition: props.h:44
User readable description.
Definition: props.h:37
Definition: props.h:59
Definition: props.h:60
labels of property if any, this is a struct with pairs of values, the first one is of the type of the...
Definition: props.h:30
Definition: props.h:47
a volume base (Float)
Definition: props.h:78
Definition: props.h:62
Definition: props.h:58
a volume array, one (linear) volume per channel (Array of Float)
Definition: props.h:83
Definition: type.h:143
Definition: props.h:42
Definition: props.h:106
static const struct spa_type_info spa_type_props[]
Definition: props-types.h:32
static const struct spa_type_info spa_type_prop_channel_map[]
Definition: param-types.h:67
a volume array, one (linear) volume per channel (Array of Float).
Definition: props.h:87
Definition: props.h:51
a channelmap array (Array (Id enum spa_audio_channel))
Definition: props.h:80
a volume step (Float)
Definition: props.h:79
#define SPA_TYPE_INFO_PROPS_BASE
Definition: props-types.h:30
Definition: type.h:43
name of the property
Definition: props.h:28
Definition: type.h:32
Definition: props.h:57
Definition: type.h:36
a volume (Float), 0.0 silence, 1.0 no attenutation
Definition: props.h:67
Definition: props.h:108
Definition: type.h:37
Definition: type.h:50
Definition: type.h:33
Definition: props.h:55
Definition: props.h:105
#define SPA_TYPE_INFO_PROP_INFO_BASE
Definition: props-types.h:91
Definition: props.h:111
is part of params property (Bool)
Definition: props.h:36
Step or incremental Time in nano seconds to ramp the.
Definition: props.h:99
the scale or graph to used to ramp the volume
Definition: props.h:101
Definition: props.h:53
Definition: type.h:34
type and range/enums of property
Definition: props.h:29
static const struct spa_type_info spa_type_param[]
Definition: param-types.h:32
Definition: props.h:61
a volume array, one (linear) volume per channel (Array of Float).
Definition: props.h:72
Time in millisec to ramp the volume over.
Definition: props.h:98
Definition: type.h:44
Definition: props.h:107
static const struct spa_type_info spa_type_prop_info[]
Definition: props-types.h:93
Definition: props.h:26
Step or incremental Samples to ramp the volume over.
Definition: props.h:96
Definition: type.h:35
Definition: type.h:31
Samples to ramp the volume over.
Definition: props.h:95
Definition: props.h:56
static const struct spa_type_info spa_type_prop_float_array[]
Definition: param-types.h:62
type of container if any (Id)
Definition: props.h:35
Definition: props.h:66
Definition: type.h:48