PipeWire  1.2.5
props-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_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 
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 */
SPA_PROP_exposure
@ SPA_PROP_exposure
Definition: props.h:110
SPA_PROP_INFO_id
@ SPA_PROP_INFO_id
associated id of the property
Definition: props.h:27
SPA_PROP_deviceFd
@ SPA_PROP_deviceFd
Definition: props.h:49
SPA_PROP_iec958Codecs
@ SPA_PROP_iec958Codecs
enabled IEC958 (S/PDIF) codecs, (Array (Id enum spa_audio_iec958_codec)
Definition: props.h:93
SPA_PROP_params
@ SPA_PROP_params
simple control params (Struct( (String : key, Pod : value)*))
Definition: props.h:115
SPA_PROP_mute
@ SPA_PROP_mute
mute (Bool)
Definition: props.h:68
SPA_PROP_volumeBase
@ SPA_PROP_volumeBase
a volume base (Float)
Definition: props.h:78
SPA_TYPE_INFO_PROP_INFO_BASE
#define SPA_TYPE_INFO_PROP_INFO_BASE
Definition: props-types.h:91
spa_type_prop_info
static const struct spa_type_info spa_type_prop_info[]
Definition: props-types.h:93
spa_type_info
Definition: type.h:143
SPA_PROP_gamma
@ SPA_PROP_gamma
Definition: props.h:109
SPA_PROP_truncate
@ SPA_PROP_truncate
Definition: props.h:71
SPA_PROP_START
@ SPA_PROP_START
Definition: props.h:42
SPA_PROP_contrast
@ SPA_PROP_contrast
Definition: props.h:106
SPA_PROP_sharpness
@ SPA_PROP_sharpness
Definition: props.h:112
SPA_PROP_softVolumes
@ SPA_PROP_softVolumes
a volume array, one (linear) volume per channel (Array of Float).
Definition: props.h:87
SPA_PROP_patternType
@ SPA_PROP_patternType
Definition: props.h:69
SPA_PROP_waveType
@ SPA_PROP_waveType
Definition: props.h:65
SPA_PROP_monitorVolumes
@ SPA_PROP_monitorVolumes
a volume array, one (linear) volume per channel (Array of Float)
Definition: props.h:83
SPA_PROP_softMute
@ SPA_PROP_softMute
mute (Bool) applied in software
Definition: props.h:86
SPA_PROP_cardName
@ SPA_PROP_cardName
Definition: props.h:51
SPA_PROP_channelMap
@ SPA_PROP_channelMap
a channelmap array (Array (Id enum spa_audio_channel))
Definition: props.h:80
SPA_PROP_ditherType
@ SPA_PROP_ditherType
Definition: props.h:70
SPA_PROP_latencyOffsetNsec
@ SPA_PROP_latencyOffsetNsec
delay adjustment
Definition: props.h:85
SPA_PROP_unknown
@ SPA_PROP_unknown
an unknown property
Definition: props.h:44
SPA_PROP_INFO_labels
@ SPA_PROP_INFO_labels
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
SPA_PROP_device
@ SPA_PROP_device
Definition: props.h:47
SPA_PROP_bluetoothOffloadActive
@ SPA_PROP_bluetoothOffloadActive
Definition: props.h:62
SPA_TYPE_INFO_PROPS_BASE
#define SPA_TYPE_INFO_PROPS_BASE
Definition: props-types.h:30
SPA_TYPE_Bool
@ SPA_TYPE_Bool
Definition: type.h:32
SPA_TYPE_Float
@ SPA_TYPE_Float
Definition: type.h:36
SPA_PROP_volume
@ SPA_PROP_volume
a volume (Float), 0.0 silence, 1.0 no attenutation
Definition: props.h:67
SPA_TYPE_String
@ SPA_TYPE_String
Definition: type.h:38
SPA_PROP_INFO_description
@ SPA_PROP_INFO_description
User readable description.
Definition: props.h:37
SPA_PROP_rate
@ SPA_PROP_rate
Definition: props.h:59
SPA_PROP_INFO_name
@ SPA_PROP_INFO_name
name of the property
Definition: props.h:28
SPA_PROP_quality
@ SPA_PROP_quality
Definition: props.h:60
SPA_TYPE_Array
@ SPA_TYPE_Array
Definition: type.h:43
SPA_PROP_periodEvent
@ SPA_PROP_periodEvent
Definition: props.h:57
SPA_PROP_live
@ SPA_PROP_live
Definition: props.h:58
SPA_PROP_minLatency
@ SPA_PROP_minLatency
Definition: props.h:53
spa_type_prop_channel_map
static const struct spa_type_info spa_type_prop_channel_map[]
Definition: param-types.h:67
type-info.h
spa/param/bluetooth/type-info.h
SPA_TYPE_Pod
@ SPA_TYPE_Pod
Definition: type.h:50
SPA_TYPE_Id
@ SPA_TYPE_Id
Definition: type.h:33
SPA_PROP_periods
@ SPA_PROP_periods
Definition: props.h:55
SPA_PROP_volumeStep
@ SPA_PROP_volumeStep
a volume step (Float)
Definition: props.h:79
SPA_PROP_INFO_params
@ SPA_PROP_INFO_params
is part of params property (Bool)
Definition: props.h:36
SPA_TYPE_Double
@ SPA_TYPE_Double
Definition: type.h:37
SPA_PROP_gain
@ SPA_PROP_gain
Definition: props.h:111
SPA_TYPE_Int
@ SPA_TYPE_Int
Definition: type.h:34
SPA_PROP_INFO_type
@ SPA_PROP_INFO_type
type and range/enums of property
Definition: props.h:29
spa_type_bluetooth_audio_codec
static const struct spa_type_info spa_type_bluetooth_audio_codec[]
Definition: type-info.h:29
param-types.h
spa/param/param-types.h
SPA_PROP_hue
@ SPA_PROP_hue
Definition: props.h:108
spa_type_prop_iec958_codec
static const struct spa_type_info spa_type_prop_iec958_codec[]
Definition: param-types.h:72
SPA_TYPE_None
@ SPA_TYPE_None
Definition: type.h:31
SPA_PROP_channelVolumes
@ SPA_PROP_channelVolumes
a volume array, one (linear) volume per channel (Array of Float).
Definition: props.h:72
SPA_PROP_brightness
@ SPA_PROP_brightness
Definition: props.h:105
SPA_PROP_frequency
@ SPA_PROP_frequency
Definition: props.h:66
SPA_PROP_volumeRampStepTime
@ SPA_PROP_volumeRampStepTime
Step or incremental Time in nano seconds to ramp the.
Definition: props.h:99
spa_type_param
static const struct spa_type_info spa_type_param[]
Definition: param-types.h:32
SPA_PROP_volumeRampScale
@ SPA_PROP_volumeRampScale
the scale or graph to used to ramp the volume
Definition: props.h:101
SPA_PROP_monitorMute
@ SPA_PROP_monitorMute
mute (Bool)
Definition: props.h:82
SPA_PROP_card
@ SPA_PROP_card
Definition: props.h:50
SPA_PROP_bluetoothAudioCodec
@ SPA_PROP_bluetoothAudioCodec
Definition: props.h:61
spa_type_props
static const struct spa_type_info spa_type_props[]
Definition: props-types.h:32
SPA_PROP_INFO_container
@ SPA_PROP_INFO_container
type of container if any (Id)
Definition: props.h:35
SPA_PROP_INFO_START
@ SPA_PROP_INFO_START
Definition: props.h:26
SPA_PROP_volumeRampStepSamples
@ SPA_PROP_volumeRampStepSamples
Step or incremental Samples to ramp the volume over.
Definition: props.h:96
SPA_TYPE_Fd
@ SPA_TYPE_Fd
Definition: type.h:48
SPA_PROP_volumeRampTime
@ SPA_PROP_volumeRampTime
Time in millisec to ramp the volume over.
Definition: props.h:98
SPA_TYPE_Long
@ SPA_TYPE_Long
Definition: type.h:35
SPA_PROP_maxLatency
@ SPA_PROP_maxLatency
Definition: props.h:54
SPA_PROP_saturation
@ SPA_PROP_saturation
Definition: props.h:107
SPA_TYPE_Struct
@ SPA_TYPE_Struct
Definition: type.h:44
SPA_PROP_volumeRampSamples
@ SPA_PROP_volumeRampSamples
Samples to ramp the volume over.
Definition: props.h:95
spa_type_prop_float_array
static const struct spa_type_info spa_type_prop_float_array[]
Definition: param-types.h:62
SPA_PROP_periodSize
@ SPA_PROP_periodSize
Definition: props.h:56
SPA_PROP_deviceName
@ SPA_PROP_deviceName
Definition: props.h:48