PipeWire 0.3.77
Loading...
Searching...
No Matches
src/pipewire/keys.h
Go to the documentation of this file.
1/* PipeWire */
2/* SPDX-FileCopyrightText: Copyright © 2019 Wim Taymans */
3/* SPDX-License-Identifier: MIT */
4
5#ifndef PIPEWIRE_KEYS_H
6#define PIPEWIRE_KEYS_H
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12#include <pipewire/utils.h>
28#define PW_KEY_PROTOCOL "pipewire.protocol"
29#define PW_KEY_ACCESS "pipewire.access"
30#define PW_KEY_CLIENT_ACCESS "pipewire.client.access"
36#define PW_KEY_SEC_PID "pipewire.sec.pid"
37#define PW_KEY_SEC_UID "pipewire.sec.uid"
38#define PW_KEY_SEC_GID "pipewire.sec.gid"
39#define PW_KEY_SEC_LABEL "pipewire.sec.label"
41#define PW_KEY_LIBRARY_NAME_SYSTEM "library.name.system"
42#define PW_KEY_LIBRARY_NAME_LOOP "library.name.loop"
43#define PW_KEY_LIBRARY_NAME_DBUS "library.name.dbus"
46#define PW_KEY_OBJECT_PATH "object.path"
47#define PW_KEY_OBJECT_ID "object.id"
48#define PW_KEY_OBJECT_SERIAL "object.serial"
52#define PW_KEY_OBJECT_LINGER "object.linger"
54#define PW_KEY_OBJECT_REGISTER "object.register"
55#define PW_KEY_OBJECT_EXPORT "object.export"
58/* config */
59#define PW_KEY_CONFIG_PREFIX "config.prefix"
60#define PW_KEY_CONFIG_NAME "config.name"
61#define PW_KEY_CONFIG_OVERRIDE_PREFIX "config.override.prefix"
62#define PW_KEY_CONFIG_OVERRIDE_NAME "config.override.name"
64/* context */
65#define PW_KEY_CONTEXT_PROFILE_MODULES "context.profile.modules"
66#define PW_KEY_USER_NAME "context.user-name"
67#define PW_KEY_HOST_NAME "context.host-name"
69/* core */
70#define PW_KEY_CORE_NAME "core.name"
73#define PW_KEY_CORE_VERSION "core.version"
74#define PW_KEY_CORE_DAEMON "core.daemon"
76#define PW_KEY_CORE_ID "core.id"
77#define PW_KEY_CORE_MONITORS "core.monitors"
79/* cpu */
80#define PW_KEY_CPU_MAX_ALIGN "cpu.max-align"
82#define PW_KEY_CPU_CORES "cpu.cores"
84/* priorities */
85#define PW_KEY_PRIORITY_SESSION "priority.session"
86#define PW_KEY_PRIORITY_DRIVER "priority.driver"
88/* remote keys */
89#define PW_KEY_REMOTE_NAME "remote.name"
92#define PW_KEY_REMOTE_INTENTION "remote.intention"
96#define PW_KEY_APP_NAME "application.name"
97#define PW_KEY_APP_ID "application.id"
99#define PW_KEY_APP_VERSION "application.version"
100#define PW_KEY_APP_ICON "application.icon"
101#define PW_KEY_APP_ICON_NAME "application.icon-name"
103#define PW_KEY_APP_LANGUAGE "application.language"
106#define PW_KEY_APP_PROCESS_ID "application.process.id"
107#define PW_KEY_APP_PROCESS_BINARY "application.process.binary"
108#define PW_KEY_APP_PROCESS_USER "application.process.user"
109#define PW_KEY_APP_PROCESS_HOST "application.process.host"
110#define PW_KEY_APP_PROCESS_MACHINE_ID "application.process.machine-id"
112#define PW_KEY_APP_PROCESS_SESSION_ID "application.process.session-id"
116#define PW_KEY_WINDOW_X11_DISPLAY "window.x11.display"
119#define PW_KEY_CLIENT_ID "client.id"
120#define PW_KEY_CLIENT_NAME "client.name"
121#define PW_KEY_CLIENT_API "client.api"
125#define PW_KEY_NODE_ID "node.id"
126#define PW_KEY_NODE_NAME "node.name"
127#define PW_KEY_NODE_NICK "node.nick"
128#define PW_KEY_NODE_DESCRIPTION "node.description"
130#define PW_KEY_NODE_PLUGGED "node.plugged"
133#define PW_KEY_NODE_SESSION "node.session"
134#define PW_KEY_NODE_GROUP "node.group"
137#define PW_KEY_NODE_EXCLUSIVE "node.exclusive"
138#define PW_KEY_NODE_AUTOCONNECT "node.autoconnect"
140#define PW_KEY_NODE_LATENCY "node.latency"
142#define PW_KEY_NODE_MAX_LATENCY "node.max-latency"
144#define PW_KEY_NODE_LOCK_QUANTUM "node.lock-quantum"
146#define PW_KEY_NODE_FORCE_QUANTUM "node.force-quantum"
148#define PW_KEY_NODE_RATE "node.rate"
150#define PW_KEY_NODE_LOCK_RATE "node.lock-rate"
152#define PW_KEY_NODE_FORCE_RATE "node.force-rate"
156#define PW_KEY_NODE_DONT_RECONNECT "node.dont-reconnect"
160#define PW_KEY_NODE_ALWAYS_PROCESS "node.always-process"
161#define PW_KEY_NODE_WANT_DRIVER "node.want-driver"
163#define PW_KEY_NODE_PAUSE_ON_IDLE "node.pause-on-idle"
164#define PW_KEY_NODE_SUSPEND_ON_IDLE "node.suspend-on-idle"
165#define PW_KEY_NODE_CACHE_PARAMS "node.cache-params"
166#define PW_KEY_NODE_TRANSPORT_SYNC "node.transport.sync"
167#define PW_KEY_NODE_DRIVER "node.driver"
168#define PW_KEY_NODE_STREAM "node.stream"
170#define PW_KEY_NODE_VIRTUAL "node.virtual"
172#define PW_KEY_NODE_PASSIVE "node.passive"
175#define PW_KEY_NODE_LINK_GROUP "node.link-group"
177#define PW_KEY_NODE_NETWORK "node.network"
178#define PW_KEY_NODE_TRIGGER "node.trigger"
181#define PW_KEY_NODE_CHANNELNAMES "node.channel-names"
183#define PW_KEY_NODE_DEVICE_PORT_NAME_PREFIX "node.device-port-name-prefix"
188#define PW_KEY_PORT_ID "port.id"
189#define PW_KEY_PORT_NAME "port.name"
190#define PW_KEY_PORT_DIRECTION "port.direction"
192#define PW_KEY_PORT_ALIAS "port.alias"
193#define PW_KEY_PORT_PHYSICAL "port.physical"
194#define PW_KEY_PORT_TERMINAL "port.terminal"
195#define PW_KEY_PORT_CONTROL "port.control"
196#define PW_KEY_PORT_MONITOR "port.monitor"
197#define PW_KEY_PORT_CACHE_PARAMS "port.cache-params"
198#define PW_KEY_PORT_EXTRA "port.extra"
200#define PW_KEY_PORT_PASSIVE "port.passive"
201#define PW_KEY_PORT_IGNORE_LATENCY "port.ignore-latency"
204#define PW_KEY_LINK_ID "link.id"
205#define PW_KEY_LINK_INPUT_NODE "link.input.node"
206#define PW_KEY_LINK_INPUT_PORT "link.input.port"
207#define PW_KEY_LINK_OUTPUT_NODE "link.output.node"
208#define PW_KEY_LINK_OUTPUT_PORT "link.output.port"
209#define PW_KEY_LINK_PASSIVE "link.passive"
212#define PW_KEY_LINK_FEEDBACK "link.feedback"
217#define PW_KEY_DEVICE_ID "device.id"
218#define PW_KEY_DEVICE_NAME "device.name"
219#define PW_KEY_DEVICE_PLUGGED "device.plugged"
221#define PW_KEY_DEVICE_NICK "device.nick"
222#define PW_KEY_DEVICE_STRING "device.string"
224#define PW_KEY_DEVICE_API "device.api"
226#define PW_KEY_DEVICE_DESCRIPTION "device.description"
228#define PW_KEY_DEVICE_BUS_PATH "device.bus-path"
230#define PW_KEY_DEVICE_SERIAL "device.serial"
231#define PW_KEY_DEVICE_VENDOR_ID "device.vendor.id"
232#define PW_KEY_DEVICE_VENDOR_NAME "device.vendor.name"
233#define PW_KEY_DEVICE_PRODUCT_ID "device.product.id"
234#define PW_KEY_DEVICE_PRODUCT_NAME "device.product.name"
235#define PW_KEY_DEVICE_CLASS "device.class"
236#define PW_KEY_DEVICE_FORM_FACTOR "device.form-factor"
241#define PW_KEY_DEVICE_BUS "device.bus"
244#define PW_KEY_DEVICE_SUBSYSTEM "device.subsystem"
245#define PW_KEY_DEVICE_SYSFS_PATH "device.sysfs.path"
246#define PW_KEY_DEVICE_ICON "device.icon"
248#define PW_KEY_DEVICE_ICON_NAME "device.icon-name"
250#define PW_KEY_DEVICE_INTENDED_ROLES "device.intended-roles"
254#define PW_KEY_DEVICE_CACHE_PARAMS "device.cache-params"
257#define PW_KEY_MODULE_ID "module.id"
258#define PW_KEY_MODULE_NAME "module.name"
259#define PW_KEY_MODULE_AUTHOR "module.author"
260#define PW_KEY_MODULE_DESCRIPTION "module.description"
262#define PW_KEY_MODULE_USAGE "module.usage"
264#define PW_KEY_MODULE_VERSION "module.version"
267#define PW_KEY_FACTORY_ID "factory.id"
268#define PW_KEY_FACTORY_NAME "factory.name"
269#define PW_KEY_FACTORY_USAGE "factory.usage"
270#define PW_KEY_FACTORY_TYPE_NAME "factory.type.name"
271#define PW_KEY_FACTORY_TYPE_VERSION "factory.type.version"
274#define PW_KEY_STREAM_IS_LIVE "stream.is-live"
275#define PW_KEY_STREAM_LATENCY_MIN "stream.latency.min"
276#define PW_KEY_STREAM_LATENCY_MAX "stream.latency.max"
277#define PW_KEY_STREAM_MONITOR "stream.monitor"
283#define PW_KEY_STREAM_DONT_REMIX "stream.dont-remix"
284#define PW_KEY_STREAM_CAPTURE_SINK "stream.capture.sink"
288#define PW_KEY_MEDIA_TYPE "media.type"
290#define PW_KEY_MEDIA_CATEGORY "media.category"
292#define PW_KEY_MEDIA_ROLE "media.role"
296#define PW_KEY_MEDIA_CLASS "media.class"
297#define PW_KEY_MEDIA_NAME "media.name"
298#define PW_KEY_MEDIA_TITLE "media.title"
299#define PW_KEY_MEDIA_ARTIST "media.artist"
300#define PW_KEY_MEDIA_COPYRIGHT "media.copyright"
301#define PW_KEY_MEDIA_SOFTWARE "media.software"
302#define PW_KEY_MEDIA_LANGUAGE "media.language"
303#define PW_KEY_MEDIA_FILENAME "media.filename"
304#define PW_KEY_MEDIA_ICON "media.icon"
306#define PW_KEY_MEDIA_ICON_NAME "media.icon-name"
308#define PW_KEY_MEDIA_COMMENT "media.comment"
309#define PW_KEY_MEDIA_DATE "media.date"
310#define PW_KEY_MEDIA_FORMAT "media.format"
313#define PW_KEY_FORMAT_DSP "format.dsp"
316#define PW_KEY_AUDIO_CHANNEL "audio.channel"
317#define PW_KEY_AUDIO_RATE "audio.rate"
318#define PW_KEY_AUDIO_CHANNELS "audio.channels"
319#define PW_KEY_AUDIO_FORMAT "audio.format"
320#define PW_KEY_AUDIO_ALLOWED_RATES "audio.allowed-rates"
324#define PW_KEY_VIDEO_RATE "video.framerate"
325#define PW_KEY_VIDEO_FORMAT "video.format"
326#define PW_KEY_VIDEO_SIZE "video.size"
328#define PW_KEY_TARGET_OBJECT "target.object"
331#ifndef PW_REMOVE_DEPRECATED
332# ifdef PW_ENABLE_DEPRECATED
333# define PW_KEY_PRIORITY_MASTER "priority.master"
334# define PW_KEY_NODE_TARGET "node.target"
335# else
336# define PW_KEY_PRIORITY_MASTER PW_DEPRECATED("priority.master")
337# define PW_KEY_NODE_TARGET PW_DEPRECATED("node.target")
338# endif /* PW_ENABLE_DEPRECATED */
339#endif /* PW_REMOVE_DEPRECATED */
344#ifdef __cplusplus
345}
346#endif
347
348#endif /* PIPEWIRE_KEYS_H */