PipeWire  1.3.83
keys.h
Go to the documentation of this file.
1 /* Simple Plugin API */
2 /* SPDX-FileCopyrightText: Copyright © 2019 Wim Taymans */
3 /* SPDX-License-Identifier: MIT */
4 
5 #ifndef SPA_UTILS_KEYS_H
6 #define SPA_UTILS_KEYS_H
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
22 #define SPA_KEY_OBJECT_PATH "object.path"
25 #define SPA_KEY_MEDIA_CLASS "media.class"
28 #define SPA_KEY_MEDIA_ROLE "media.role"
33 #define SPA_KEY_API_UDEV "api.udev"
34 #define SPA_KEY_API_UDEV_MATCH "api.udev.match"
37 #define SPA_KEY_API_ALSA "api.alsa"
38 #define SPA_KEY_API_ALSA_PATH "api.alsa.path"
41 #define SPA_KEY_API_ALSA_CARD "api.alsa.card"
42 #define SPA_KEY_API_ALSA_USE_UCM "api.alsa.use-ucm"
43 #define SPA_KEY_API_ALSA_IGNORE_DB "api.alsa.ignore-dB"
44 #define SPA_KEY_API_ALSA_OPEN_UCM "api.alsa.open.ucm"
45 #define SPA_KEY_API_ALSA_DISABLE_LONGNAME \
46  "api.alsa.disable-longname"
47 #define SPA_KEY_API_ALSA_BIND_CTLS "api.alsa.bind-ctls"
48 #define SPA_KEY_API_ALSA_SPLIT_ENABLE "api.alsa.split-enable"
53 #define SPA_KEY_API_ALSA_SPLIT_PARENT "api.alsa.split.parent"
58 #define SPA_KEY_API_ALSA_CARD_ID "api.alsa.card.id"
59 #define SPA_KEY_API_ALSA_CARD_COMPONENTS \
60  "api.alsa.card.components"
61 #define SPA_KEY_API_ALSA_CARD_DRIVER "api.alsa.card.driver"
62 #define SPA_KEY_API_ALSA_CARD_NAME "api.alsa.card.name"
63 #define SPA_KEY_API_ALSA_CARD_LONGNAME "api.alsa.card.longname"
64 #define SPA_KEY_API_ALSA_CARD_MIXERNAME "api.alsa.card.mixername"
67 #define SPA_KEY_API_ALSA_PCM_ID "api.alsa.pcm.id"
68 #define SPA_KEY_API_ALSA_PCM_CARD "api.alsa.pcm.card"
69 #define SPA_KEY_API_ALSA_PCM_NAME "api.alsa.pcm.name"
70 #define SPA_KEY_API_ALSA_PCM_SUBNAME "api.alsa.pcm.subname"
71 #define SPA_KEY_API_ALSA_PCM_STREAM "api.alsa.pcm.stream"
72 #define SPA_KEY_API_ALSA_PCM_CLASS "api.alsa.pcm.class"
73 #define SPA_KEY_API_ALSA_PCM_DEVICE "api.alsa.pcm.device"
74 #define SPA_KEY_API_ALSA_PCM_SUBDEVICE "api.alsa.pcm.subdevice"
75 #define SPA_KEY_API_ALSA_PCM_SUBCLASS "api.alsa.pcm.subclass"
76 #define SPA_KEY_API_ALSA_PCM_SYNC_ID "api.alsa.pcm.sync-id"
78 #define SPA_KEY_API_ALSA_SPLIT_POSITION "api.alsa.split.position"
83 #define SPA_KEY_API_ALSA_SPLIT_HW_POSITION \
84  "api.alsa.split.hw-position"
88 #define SPA_KEY_API_V4L2 "api.v4l2"
89 #define SPA_KEY_API_V4L2_PATH "api.v4l2.path"
93 #define SPA_KEY_API_LIBCAMERA "api.libcamera"
94 #define SPA_KEY_API_LIBCAMERA_PATH "api.libcamera.path"
96 #define SPA_KEY_API_LIBCAMERA_LOCATION "api.libcamera.location"
98 #define SPA_KEY_API_LIBCAMERA_ROTATION "api.libcamera.rotation"
102 #define SPA_KEY_API_LIBCAMERA_CAP_DRIVER "api.libcamera.cap.driver"
103 #define SPA_KEY_API_LIBCAMERA_CAP_CARD "api.libcamera.cap.card"
104 #define SPA_KEY_API_LIBCAMERA_CAP_BUS_INFO "api.libcamera.cap.bus_info"
105 #define SPA_KEY_API_LIBCAMERA_CAP_VERSION "api.libcamera.cap.version"
106 #define SPA_KEY_API_LIBCAMERA_CAP_CAPABILITIES \
107  "api.libcamera.cap.capabilities"
108 #define SPA_KEY_API_LIBCAMERA_CAP_DEVICE_CAPS \
109  "api.libcamera.cap.device-caps"
111 #define SPA_KEY_API_V4L2_CAP_DRIVER "api.v4l2.cap.driver"
112 #define SPA_KEY_API_V4L2_CAP_CARD "api.v4l2.cap.card"
113 #define SPA_KEY_API_V4L2_CAP_BUS_INFO "api.v4l2.cap.bus_info"
114 #define SPA_KEY_API_V4L2_CAP_VERSION "api.v4l2.cap.version"
115 #define SPA_KEY_API_V4L2_CAP_CAPABILITIES \
116  "api.v4l2.cap.capabilities"
117 #define SPA_KEY_API_V4L2_CAP_DEVICE_CAPS \
118  "api.v4l2.cap.device-caps"
122 #define SPA_KEY_API_BLUEZ5 "api.bluez5"
123 #define SPA_KEY_API_BLUEZ5_PATH "api.bluez5.path"
124 #define SPA_KEY_API_BLUEZ5_DEVICE "api.bluez5.device"
125 #define SPA_KEY_API_BLUEZ5_CONNECTION "api.bluez5.connection"
126 #define SPA_KEY_API_BLUEZ5_TRANSPORT "api.bluez5.transport"
127 #define SPA_KEY_API_BLUEZ5_PROFILE "api.bluez5.profile"
128 #define SPA_KEY_API_BLUEZ5_ADDRESS "api.bluez5.address"
129 #define SPA_KEY_API_BLUEZ5_CODEC "api.bluez5.codec"
130 #define SPA_KEY_API_BLUEZ5_CLASS "api.bluez5.class"
131 #define SPA_KEY_API_BLUEZ5_ICON "api.bluez5.icon"
132 #define SPA_KEY_API_BLUEZ5_ROLE "api.bluez5.role"
135 #define SPA_KEY_API_JACK "api.jack"
136 #define SPA_KEY_API_JACK_SERVER "api.jack.server"
137 #define SPA_KEY_API_JACK_CLIENT "api.jack.client"
140 #define SPA_KEY_API_GLIB_MAINLOOP "api.glib.mainloop"
147 #ifdef __cplusplus
148 } /* extern "C" */
149 #endif
150 
151 #endif /* SPA_UTILS_KEYS_H */