PipeWire  0.3.59
keys.h
Go to the documentation of this file.
1 /* Simple Plugin API
2  *
3  * Copyright © 2019 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_UTILS_KEYS_H
26 #define SPA_UTILS_KEYS_H
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
42 #define SPA_KEY_OBJECT_PATH "object.path"
45 #define SPA_KEY_MEDIA_CLASS "media.class"
48 #define SPA_KEY_MEDIA_ROLE "media.role"
53 #define SPA_KEY_API_UDEV "api.udev"
54 #define SPA_KEY_API_UDEV_MATCH "api.udev.match"
57 #define SPA_KEY_API_ALSA "api.alsa"
58 #define SPA_KEY_API_ALSA_PATH "api.alsa.path"
61 #define SPA_KEY_API_ALSA_CARD "api.alsa.card"
62 #define SPA_KEY_API_ALSA_USE_UCM "api.alsa.use-ucm"
63 #define SPA_KEY_API_ALSA_IGNORE_DB "api.alsa.ignore-dB"
64 #define SPA_KEY_API_ALSA_OPEN_UCM "api.alsa.open.ucm"
65 #define SPA_KEY_API_ALSA_DISABLE_LONGNAME \
66  "api.alsa.disable-longname"
69 #define SPA_KEY_API_ALSA_CARD_ID "api.alsa.card.id"
70 #define SPA_KEY_API_ALSA_CARD_COMPONENTS \
71  "api.alsa.card.components"
72 #define SPA_KEY_API_ALSA_CARD_DRIVER "api.alsa.card.driver"
73 #define SPA_KEY_API_ALSA_CARD_NAME "api.alsa.card.name"
74 #define SPA_KEY_API_ALSA_CARD_LONGNAME "api.alsa.card.longname"
75 #define SPA_KEY_API_ALSA_CARD_MIXERNAME "api.alsa.card.mixername"
78 #define SPA_KEY_API_ALSA_PCM_ID "api.alsa.pcm.id"
79 #define SPA_KEY_API_ALSA_PCM_CARD "api.alsa.pcm.card"
80 #define SPA_KEY_API_ALSA_PCM_NAME "api.alsa.pcm.name"
81 #define SPA_KEY_API_ALSA_PCM_SUBNAME "api.alsa.pcm.subname"
82 #define SPA_KEY_API_ALSA_PCM_STREAM "api.alsa.pcm.stream"
83 #define SPA_KEY_API_ALSA_PCM_CLASS "api.alsa.pcm.class"
84 #define SPA_KEY_API_ALSA_PCM_DEVICE "api.alsa.pcm.device"
85 #define SPA_KEY_API_ALSA_PCM_SUBDEVICE "api.alsa.pcm.subdevice"
86 #define SPA_KEY_API_ALSA_PCM_SUBCLASS "api.alsa.pcm.subclass"
87 #define SPA_KEY_API_ALSA_PCM_SYNC_ID "api.alsa.pcm.sync-id"
90 #define SPA_KEY_API_V4L2 "api.v4l2"
91 #define SPA_KEY_API_V4L2_PATH "api.v4l2.path"
95 #define SPA_KEY_API_LIBCAMERA "api.libcamera"
96 #define SPA_KEY_API_LIBCAMERA_PATH "api.libcamera.path"
98 #define SPA_KEY_API_LIBCAMERA_LOCATION "api.libcamera.location"
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"
134 #define SPA_KEY_API_JACK "api.jack"
135 #define SPA_KEY_API_JACK_SERVER "api.jack.server"
136 #define SPA_KEY_API_JACK_CLIENT "api.jack.client"
142 #ifdef __cplusplus
143 } /* extern "C" */
144 #endif
145 
146 #endif /* SPA_UTILS_KEYS_H */