PipeWire  0.3.65
props-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_PROPS_TYPES_H
26 #define SPA_PARAM_PROPS_TYPES_H
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
37 #include <spa/param/param-types.h>
38 
40 
42 #define SPA_TYPE_INFO_Props SPA_TYPE_INFO_PARAM_BASE "Props"
43 #define SPA_TYPE_INFO_PROPS_BASE SPA_TYPE_INFO_Props ":"
44 
45 static const struct spa_type_info spa_type_props[] = {
62  { SPA_PROP_bluetoothOffloadActive, SPA_TYPE_Bool, SPA_TYPE_INFO_PROPS_BASE "bluetoothOffloadActive", NULL },
63 
81 
90 
92  { 0, 0, NULL, NULL },
93 };
94 
96 #define SPA_TYPE_INFO_PropInfo SPA_TYPE_INFO_PARAM_BASE "PropInfo"
97 #define SPA_TYPE_INFO_PROP_INFO_BASE SPA_TYPE_INFO_PropInfo ":"
98 
99 static const struct spa_type_info spa_type_prop_info[] = {
108  { 0, 0, NULL, NULL },
109 };
110 
115 #ifdef __cplusplus
116 } /* extern "C" */
117 #endif
118 
119 #endif /* SPA_PARAM_PROPS_TYPES_H */
Definition: props.h:70
mute (Bool)
Definition: props.h:98
Definition: spa/include/spa/utils/type.h:70
Definition: props.h:68
simple control params (Struct( (String : key, Pod : value)*))
Definition: props.h:120
mute (Bool)
Definition: props.h:88
Definition: props.h:69
Definition: props.h:74
Definition: props.h:89
Definition: props.h:85
Definition: props.h:114
static const struct spa_type_info spa_type_bluetooth_audio_codec[]
Definition: param/bluetooth/type-info.h:49
Definition: props.h:91
Definition: props.h:90
static const struct spa_type_info spa_type_prop_iec958_codec[]
Definition: param-types.h:91
Definition: spa/include/spa/utils/type.h:51
Definition: props.h:117
Definition: props.h:115
associated id of the property
Definition: props.h:47
mute (Bool)
Definition: props.h:102
enabled IEC958 (S/PDIF) codecs, (Array (Id enum spa_audio_iec958_codec)
Definition: props.h:106
delay adjustment
Definition: props.h:101
Definition: spa/include/spa/utils/type.h:54
an unknown property
Definition: props.h:64
User readable description.
Definition: props.h:57
Definition: props.h:79
Definition: props.h:80
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:50
Definition: props.h:67
a volume base (Float)
Definition: props.h:94
Definition: props.h:82
Definition: props.h:78
a volume array, one volume per channel (Array of Float)
Definition: props.h:99
Definition: spa/include/spa/utils/type.h:162
Definition: props.h:62
Definition: spa/include/spa/utils/type.h:64
Definition: props.h:111
spa/param/param-types.h
static const struct spa_type_info spa_type_props[]
Definition: props-types.h:52
static const struct spa_type_info spa_type_prop_channel_map[]
Definition: param-types.h:86
a volume array, one volume per channel (Array of Float)
Definition: props.h:103
Definition: props.h:71
spa/param/bluetooth/type-info.h
a channelmap array (Array (Id enum spa_audio_channel))
Definition: props.h:96
a volume step (Float)
Definition: props.h:95
#define SPA_TYPE_INFO_PROPS_BASE
Definition: props-types.h:50
name of the property
Definition: props.h:48
Definition: props.h:77
a volume (Float), 0.0 silence, 1.0 normal
Definition: props.h:87
Definition: props.h:113
Definition: props.h:75
Definition: props.h:110
#define SPA_TYPE_INFO_PROP_INFO_BASE
Definition: props-types.h:106
Definition: props.h:116
is part of params property (Bool)
Definition: props.h:56
Definition: spa/include/spa/utils/type.h:56
Definition: props.h:73
type and range/enums of property
Definition: props.h:49
static const struct spa_type_info spa_type_param[]
Definition: param-types.h:52
Definition: spa/include/spa/utils/type.h:58
Definition: props.h:81
Definition: spa/include/spa/utils/type.h:55
a volume array, one volume per channel (Array of Float)
Definition: props.h:92
Definition: spa/include/spa/utils/type.h:52
Definition: props.h:112
static const struct spa_type_info spa_type_prop_info[]
Definition: props-types.h:108
Definition: props.h:46
Definition: spa/include/spa/utils/type.h:68
Definition: spa/include/spa/utils/type.h:63
Definition: props.h:76
static const struct spa_type_info spa_type_prop_float_array[]
Definition: param-types.h:81
Definition: spa/include/spa/utils/type.h:57
type of container if any (Id)
Definition: props.h:55
Definition: props.h:86
Definition: spa/include/spa/utils/type.h:53