PipeWire 0.3.43
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
29extern "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"
67#define SPA_KEY_API_ALSA_CARD_ID "api.alsa.card.id"
68#define SPA_KEY_API_ALSA_CARD_COMPONENTS \
69 "api.alsa.card.components"
70#define SPA_KEY_API_ALSA_CARD_DRIVER "api.alsa.card.driver"
71#define SPA_KEY_API_ALSA_CARD_NAME "api.alsa.card.name"
72#define SPA_KEY_API_ALSA_CARD_LONGNAME "api.alsa.card.longname"
73#define SPA_KEY_API_ALSA_CARD_MIXERNAME "api.alsa.card.mixername"
76#define SPA_KEY_API_ALSA_PCM_ID "api.alsa.pcm.id"
77#define SPA_KEY_API_ALSA_PCM_CARD "api.alsa.pcm.card"
78#define SPA_KEY_API_ALSA_PCM_NAME "api.alsa.pcm.name"
79#define SPA_KEY_API_ALSA_PCM_SUBNAME "api.alsa.pcm.subname"
80#define SPA_KEY_API_ALSA_PCM_STREAM "api.alsa.pcm.stream"
81#define SPA_KEY_API_ALSA_PCM_CLASS "api.alsa.pcm.class"
82#define SPA_KEY_API_ALSA_PCM_DEVICE "api.alsa.pcm.device"
83#define SPA_KEY_API_ALSA_PCM_SUBDEVICE "api.alsa.pcm.subdevice"
84#define SPA_KEY_API_ALSA_PCM_SUBCLASS "api.alsa.pcm.subclass"
85#define SPA_KEY_API_ALSA_PCM_SYNC_ID "api.alsa.pcm.sync-id"
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"
98#define SPA_KEY_API_LIBCAMERA_CAP_DRIVER "api.libcamera.cap.driver"
99#define SPA_KEY_API_LIBCAMERA_CAP_CARD "api.libcamera.cap.card"
100#define SPA_KEY_API_LIBCAMERA_CAP_BUS_INFO "api.libcamera.cap.bus_info"
101#define SPA_KEY_API_LIBCAMERA_CAP_VERSION "api.libcamera.cap.version"
102#define SPA_KEY_API_LIBCAMERA_CAP_CAPABILITIES \
103 "api.libcamera.cap.capabilities"
104#define SPA_KEY_API_LIBCAMERA_CAP_DEVICE_CAPS \
105 "api.libcamera.cap.device-caps"
107#define SPA_KEY_API_V4L2_CAP_DRIVER "api.v4l2.cap.driver"
108#define SPA_KEY_API_V4L2_CAP_CARD "api.v4l2.cap.card"
109#define SPA_KEY_API_V4L2_CAP_BUS_INFO "api.v4l2.cap.bus_info"
110#define SPA_KEY_API_V4L2_CAP_VERSION "api.v4l2.cap.version"
111#define SPA_KEY_API_V4L2_CAP_CAPABILITIES \
112 "api.v4l2.cap.capabilities"
113#define SPA_KEY_API_V4L2_CAP_DEVICE_CAPS \
114 "api.v4l2.cap.device-caps"
118#define SPA_KEY_API_BLUEZ5 "api.bluez5"
119#define SPA_KEY_API_BLUEZ5_PATH "api.bluez5.path"
120#define SPA_KEY_API_BLUEZ5_DEVICE "api.bluez5.device"
121#define SPA_KEY_API_BLUEZ5_CONNECTION "api.bluez5.connection"
122#define SPA_KEY_API_BLUEZ5_TRANSPORT "api.bluez5.transport"
123#define SPA_KEY_API_BLUEZ5_PROFILE "api.bluez5.profile"
124#define SPA_KEY_API_BLUEZ5_ADDRESS "api.bluez5.address"
125#define SPA_KEY_API_BLUEZ5_CODEC "api.bluez5.codec"
126#define SPA_KEY_API_BLUEZ5_CLASS "api.bluez5.class"
127#define SPA_KEY_API_BLUEZ5_ICON "api.bluez5.icon"
130#define SPA_KEY_API_JACK "api.jack"
131#define SPA_KEY_API_JACK_SERVER "api.jack.server"
132#define SPA_KEY_API_JACK_CLIENT "api.jack.client"
138#ifdef __cplusplus
139} /* extern "C" */
140#endif
141
142#endif /* SPA_UTILS_KEYS_H */