PipeWire  0.3.66
spa/include/spa/utils/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"
49 #define SPA_KEY_API_ALSA_CARD_ID "api.alsa.card.id"
50 #define SPA_KEY_API_ALSA_CARD_COMPONENTS \
51  "api.alsa.card.components"
52 #define SPA_KEY_API_ALSA_CARD_DRIVER "api.alsa.card.driver"
53 #define SPA_KEY_API_ALSA_CARD_NAME "api.alsa.card.name"
54 #define SPA_KEY_API_ALSA_CARD_LONGNAME "api.alsa.card.longname"
55 #define SPA_KEY_API_ALSA_CARD_MIXERNAME "api.alsa.card.mixername"
58 #define SPA_KEY_API_ALSA_PCM_ID "api.alsa.pcm.id"
59 #define SPA_KEY_API_ALSA_PCM_CARD "api.alsa.pcm.card"
60 #define SPA_KEY_API_ALSA_PCM_NAME "api.alsa.pcm.name"
61 #define SPA_KEY_API_ALSA_PCM_SUBNAME "api.alsa.pcm.subname"
62 #define SPA_KEY_API_ALSA_PCM_STREAM "api.alsa.pcm.stream"
63 #define SPA_KEY_API_ALSA_PCM_CLASS "api.alsa.pcm.class"
64 #define SPA_KEY_API_ALSA_PCM_DEVICE "api.alsa.pcm.device"
65 #define SPA_KEY_API_ALSA_PCM_SUBDEVICE "api.alsa.pcm.subdevice"
66 #define SPA_KEY_API_ALSA_PCM_SUBCLASS "api.alsa.pcm.subclass"
67 #define SPA_KEY_API_ALSA_PCM_SYNC_ID "api.alsa.pcm.sync-id"
70 #define SPA_KEY_API_V4L2 "api.v4l2"
71 #define SPA_KEY_API_V4L2_PATH "api.v4l2.path"
75 #define SPA_KEY_API_LIBCAMERA "api.libcamera"
76 #define SPA_KEY_API_LIBCAMERA_PATH "api.libcamera.path"
78 #define SPA_KEY_API_LIBCAMERA_LOCATION "api.libcamera.location"
82 #define SPA_KEY_API_LIBCAMERA_CAP_DRIVER "api.libcamera.cap.driver"
83 #define SPA_KEY_API_LIBCAMERA_CAP_CARD "api.libcamera.cap.card"
84 #define SPA_KEY_API_LIBCAMERA_CAP_BUS_INFO "api.libcamera.cap.bus_info"
85 #define SPA_KEY_API_LIBCAMERA_CAP_VERSION "api.libcamera.cap.version"
86 #define SPA_KEY_API_LIBCAMERA_CAP_CAPABILITIES \
87  "api.libcamera.cap.capabilities"
88 #define SPA_KEY_API_LIBCAMERA_CAP_DEVICE_CAPS \
89  "api.libcamera.cap.device-caps"
91 #define SPA_KEY_API_V4L2_CAP_DRIVER "api.v4l2.cap.driver"
92 #define SPA_KEY_API_V4L2_CAP_CARD "api.v4l2.cap.card"
93 #define SPA_KEY_API_V4L2_CAP_BUS_INFO "api.v4l2.cap.bus_info"
94 #define SPA_KEY_API_V4L2_CAP_VERSION "api.v4l2.cap.version"
95 #define SPA_KEY_API_V4L2_CAP_CAPABILITIES \
96  "api.v4l2.cap.capabilities"
97 #define SPA_KEY_API_V4L2_CAP_DEVICE_CAPS \
98  "api.v4l2.cap.device-caps"
102 #define SPA_KEY_API_BLUEZ5 "api.bluez5"
103 #define SPA_KEY_API_BLUEZ5_PATH "api.bluez5.path"
104 #define SPA_KEY_API_BLUEZ5_DEVICE "api.bluez5.device"
105 #define SPA_KEY_API_BLUEZ5_CONNECTION "api.bluez5.connection"
106 #define SPA_KEY_API_BLUEZ5_TRANSPORT "api.bluez5.transport"
107 #define SPA_KEY_API_BLUEZ5_PROFILE "api.bluez5.profile"
108 #define SPA_KEY_API_BLUEZ5_ADDRESS "api.bluez5.address"
109 #define SPA_KEY_API_BLUEZ5_CODEC "api.bluez5.codec"
110 #define SPA_KEY_API_BLUEZ5_CLASS "api.bluez5.class"
111 #define SPA_KEY_API_BLUEZ5_ICON "api.bluez5.icon"
112 #define SPA_KEY_API_BLUEZ5_ROLE "api.bluez5.role"
115 #define SPA_KEY_API_JACK "api.jack"
116 #define SPA_KEY_API_JACK_SERVER "api.jack.server"
117 #define SPA_KEY_API_JACK_CLIENT "api.jack.client"
120 #define SPA_KEY_API_GLIB_MAINLOOP "api.glib.mainloop"
127 #ifdef __cplusplus
128 } /* extern "C" */
129 #endif
130 
131 #endif /* SPA_UTILS_KEYS_H */