PipeWire 1.2.6
Loading...
Searching...
No Matches
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_SEC_SOCKET "pipewire.sec.socket"
43#define PW_KEY_SEC_ENGINE "pipewire.sec.engine"
46#define PW_KEY_SEC_APP_ID "pipewire.sec.app-id"
47#define PW_KEY_SEC_INSTANCE_ID "pipewire.sec.instance-id"
49#define PW_KEY_LIBRARY_NAME_SYSTEM "library.name.system"
50#define PW_KEY_LIBRARY_NAME_LOOP "library.name.loop"
51#define PW_KEY_LIBRARY_NAME_DBUS "library.name.dbus"
54#define PW_KEY_OBJECT_PATH "object.path"
55#define PW_KEY_OBJECT_ID "object.id"
56#define PW_KEY_OBJECT_SERIAL "object.serial"
60#define PW_KEY_OBJECT_LINGER "object.linger"
62#define PW_KEY_OBJECT_REGISTER "object.register"
63#define PW_KEY_OBJECT_EXPORT "object.export"
66/* config */
67#define PW_KEY_CONFIG_PREFIX "config.prefix"
68#define PW_KEY_CONFIG_NAME "config.name"
69#define PW_KEY_CONFIG_OVERRIDE_PREFIX "config.override.prefix"
70#define PW_KEY_CONFIG_OVERRIDE_NAME "config.override.name"
72/* loop */
73#define PW_KEY_LOOP_NAME "loop.name"
74#define PW_KEY_LOOP_CLASS "loop.class"
75#define PW_KEY_LOOP_RT_PRIO "loop.rt-prio"
76#define PW_KEY_LOOP_CANCEL "loop.cancel"
78/* context */
79#define PW_KEY_CONTEXT_PROFILE_MODULES "context.profile.modules"
80#define PW_KEY_USER_NAME "context.user-name"
81#define PW_KEY_HOST_NAME "context.host-name"
83/* core */
84#define PW_KEY_CORE_NAME "core.name"
87#define PW_KEY_CORE_VERSION "core.version"
88#define PW_KEY_CORE_DAEMON "core.daemon"
90#define PW_KEY_CORE_ID "core.id"
91#define PW_KEY_CORE_MONITORS "core.monitors"
93/* cpu */
94#define PW_KEY_CPU_MAX_ALIGN "cpu.max-align"
96#define PW_KEY_CPU_CORES "cpu.cores"
98/* priorities */
99#define PW_KEY_PRIORITY_SESSION "priority.session"
100#define PW_KEY_PRIORITY_DRIVER "priority.driver"
102/* remote keys */
103#define PW_KEY_REMOTE_NAME "remote.name"
108#define PW_KEY_REMOTE_INTENTION "remote.intention"
112#define PW_KEY_APP_NAME "application.name"
113#define PW_KEY_APP_ID "application.id"
115#define PW_KEY_APP_VERSION "application.version"
116#define PW_KEY_APP_ICON "application.icon"
117#define PW_KEY_APP_ICON_NAME "application.icon-name"
119#define PW_KEY_APP_LANGUAGE "application.language"
122#define PW_KEY_APP_PROCESS_ID "application.process.id"
123#define PW_KEY_APP_PROCESS_BINARY "application.process.binary"
124#define PW_KEY_APP_PROCESS_USER "application.process.user"
125#define PW_KEY_APP_PROCESS_HOST "application.process.host"
126#define PW_KEY_APP_PROCESS_MACHINE_ID "application.process.machine-id"
128#define PW_KEY_APP_PROCESS_SESSION_ID "application.process.session-id"
132#define PW_KEY_WINDOW_X11_DISPLAY "window.x11.display"
135#define PW_KEY_CLIENT_ID "client.id"
136#define PW_KEY_CLIENT_NAME "client.name"
137#define PW_KEY_CLIENT_API "client.api"
141#define PW_KEY_NODE_ID "node.id"
142#define PW_KEY_NODE_NAME "node.name"
143#define PW_KEY_NODE_NICK "node.nick"
144#define PW_KEY_NODE_DESCRIPTION "node.description"
146#define PW_KEY_NODE_PLUGGED "node.plugged"
149#define PW_KEY_NODE_SESSION "node.session"
150#define PW_KEY_NODE_GROUP "node.group"
154#define PW_KEY_NODE_SYNC_GROUP "node.sync-group"
158#define PW_KEY_NODE_SYNC "node.sync"
159#define PW_KEY_NODE_TRANSPORT "node.transport"
160#define PW_KEY_NODE_EXCLUSIVE "node.exclusive"
161#define PW_KEY_NODE_AUTOCONNECT "node.autoconnect"
163#define PW_KEY_NODE_LATENCY "node.latency"
165#define PW_KEY_NODE_MAX_LATENCY "node.max-latency"
167#define PW_KEY_NODE_LOCK_QUANTUM "node.lock-quantum"
169#define PW_KEY_NODE_FORCE_QUANTUM "node.force-quantum"
171#define PW_KEY_NODE_RATE "node.rate"
173#define PW_KEY_NODE_LOCK_RATE "node.lock-rate"
175#define PW_KEY_NODE_FORCE_RATE "node.force-rate"
179#define PW_KEY_NODE_DONT_RECONNECT "node.dont-reconnect"
183#define PW_KEY_NODE_ALWAYS_PROCESS "node.always-process"
184#define PW_KEY_NODE_WANT_DRIVER "node.want-driver"
186#define PW_KEY_NODE_PAUSE_ON_IDLE "node.pause-on-idle"
187#define PW_KEY_NODE_SUSPEND_ON_IDLE "node.suspend-on-idle"
188#define PW_KEY_NODE_CACHE_PARAMS "node.cache-params"
189#define PW_KEY_NODE_TRANSPORT_SYNC "node.transport.sync"
190#define PW_KEY_NODE_DRIVER "node.driver"
193#define PW_KEY_NODE_SUPPORTS_LAZY "node.supports-lazy"
198#define PW_KEY_NODE_SUPPORTS_REQUEST "node.supports-request"
202#define PW_KEY_NODE_DRIVER_ID "node.driver-id"
204#define PW_KEY_NODE_ASYNC "node.async"
205#define PW_KEY_NODE_LOOP_NAME "node.loop.name"
206#define PW_KEY_NODE_LOOP_CLASS "node.loop.class"
207#define PW_KEY_NODE_STREAM "node.stream"
209#define PW_KEY_NODE_VIRTUAL "node.virtual"
211#define PW_KEY_NODE_PASSIVE "node.passive"
214#define PW_KEY_NODE_LINK_GROUP "node.link-group"
217#define PW_KEY_NODE_NETWORK "node.network"
218#define PW_KEY_NODE_TRIGGER "node.trigger"
221#define PW_KEY_NODE_CHANNELNAMES "node.channel-names"
223#define PW_KEY_NODE_DEVICE_PORT_NAME_PREFIX \
224 "node.device-port-name-prefix"
230#define PW_KEY_PORT_ID "port.id"
231#define PW_KEY_PORT_NAME "port.name"
232#define PW_KEY_PORT_DIRECTION "port.direction"
234#define PW_KEY_PORT_ALIAS "port.alias"
235#define PW_KEY_PORT_PHYSICAL "port.physical"
236#define PW_KEY_PORT_TERMINAL "port.terminal"
237#define PW_KEY_PORT_CONTROL "port.control"
238#define PW_KEY_PORT_MONITOR "port.monitor"
239#define PW_KEY_PORT_CACHE_PARAMS "port.cache-params"
240#define PW_KEY_PORT_EXTRA "port.extra"
242#define PW_KEY_PORT_PASSIVE "port.passive"
243#define PW_KEY_PORT_IGNORE_LATENCY "port.ignore-latency"
244#define PW_KEY_PORT_GROUP "port.group"
247#define PW_KEY_LINK_ID "link.id"
248#define PW_KEY_LINK_INPUT_NODE "link.input.node"
249#define PW_KEY_LINK_INPUT_PORT "link.input.port"
250#define PW_KEY_LINK_OUTPUT_NODE "link.output.node"
251#define PW_KEY_LINK_OUTPUT_PORT "link.output.port"
252#define PW_KEY_LINK_PASSIVE "link.passive"
255#define PW_KEY_LINK_FEEDBACK "link.feedback"
258#define PW_KEY_LINK_ASYNC "link.async"
261#define PW_KEY_DEVICE_ID "device.id"
262#define PW_KEY_DEVICE_NAME "device.name"
263#define PW_KEY_DEVICE_PLUGGED "device.plugged"
265#define PW_KEY_DEVICE_NICK "device.nick"
266#define PW_KEY_DEVICE_STRING "device.string"
268#define PW_KEY_DEVICE_API "device.api"
270#define PW_KEY_DEVICE_DESCRIPTION "device.description"
272#define PW_KEY_DEVICE_BUS_PATH "device.bus-path"
274#define PW_KEY_DEVICE_SERIAL "device.serial"
275#define PW_KEY_DEVICE_VENDOR_ID "device.vendor.id"
276#define PW_KEY_DEVICE_VENDOR_NAME "device.vendor.name"
277#define PW_KEY_DEVICE_PRODUCT_ID "device.product.id"
278#define PW_KEY_DEVICE_PRODUCT_NAME "device.product.name"
279#define PW_KEY_DEVICE_CLASS "device.class"
280#define PW_KEY_DEVICE_FORM_FACTOR "device.form-factor"
285#define PW_KEY_DEVICE_BUS "device.bus"
288#define PW_KEY_DEVICE_SUBSYSTEM "device.subsystem"
289#define PW_KEY_DEVICE_SYSFS_PATH "device.sysfs.path"
290#define PW_KEY_DEVICE_ICON "device.icon"
292#define PW_KEY_DEVICE_ICON_NAME "device.icon-name"
294#define PW_KEY_DEVICE_INTENDED_ROLES "device.intended-roles"
298#define PW_KEY_DEVICE_CACHE_PARAMS "device.cache-params"
301#define PW_KEY_MODULE_ID "module.id"
302#define PW_KEY_MODULE_NAME "module.name"
303#define PW_KEY_MODULE_AUTHOR "module.author"
304#define PW_KEY_MODULE_DESCRIPTION "module.description"
306#define PW_KEY_MODULE_USAGE "module.usage"
308#define PW_KEY_MODULE_VERSION "module.version"
309#define PW_KEY_MODULE_DEPRECATED "module.deprecated"
312#define PW_KEY_FACTORY_ID "factory.id"
313#define PW_KEY_FACTORY_NAME "factory.name"
314#define PW_KEY_FACTORY_USAGE "factory.usage"
315#define PW_KEY_FACTORY_TYPE_NAME "factory.type.name"
316#define PW_KEY_FACTORY_TYPE_VERSION "factory.type.version"
319#define PW_KEY_STREAM_IS_LIVE "stream.is-live"
320#define PW_KEY_STREAM_LATENCY_MIN "stream.latency.min"
321#define PW_KEY_STREAM_LATENCY_MAX "stream.latency.max"
322#define PW_KEY_STREAM_MONITOR "stream.monitor"
328#define PW_KEY_STREAM_DONT_REMIX "stream.dont-remix"
329#define PW_KEY_STREAM_CAPTURE_SINK "stream.capture.sink"
333#define PW_KEY_MEDIA_TYPE "media.type"
335#define PW_KEY_MEDIA_CATEGORY "media.category"
337#define PW_KEY_MEDIA_ROLE "media.role"
341#define PW_KEY_MEDIA_CLASS "media.class"
342#define PW_KEY_MEDIA_NAME "media.name"
343#define PW_KEY_MEDIA_TITLE "media.title"
344#define PW_KEY_MEDIA_ARTIST "media.artist"
345#define PW_KEY_MEDIA_ALBUM "media.album"
346#define PW_KEY_MEDIA_COPYRIGHT "media.copyright"
347#define PW_KEY_MEDIA_SOFTWARE "media.software"
348#define PW_KEY_MEDIA_LANGUAGE "media.language"
349#define PW_KEY_MEDIA_FILENAME "media.filename"
350#define PW_KEY_MEDIA_ICON "media.icon"
352#define PW_KEY_MEDIA_ICON_NAME "media.icon-name"
354#define PW_KEY_MEDIA_COMMENT "media.comment"
355#define PW_KEY_MEDIA_DATE "media.date"
356#define PW_KEY_MEDIA_FORMAT "media.format"
359#define PW_KEY_FORMAT_DSP "format.dsp"
362#define PW_KEY_AUDIO_CHANNEL "audio.channel"
363#define PW_KEY_AUDIO_RATE "audio.rate"
364#define PW_KEY_AUDIO_CHANNELS "audio.channels"
365#define PW_KEY_AUDIO_FORMAT "audio.format"
366#define PW_KEY_AUDIO_ALLOWED_RATES "audio.allowed-rates"
370#define PW_KEY_VIDEO_RATE "video.framerate"
371#define PW_KEY_VIDEO_FORMAT "video.format"
372#define PW_KEY_VIDEO_SIZE "video.size"
374#define PW_KEY_TARGET_OBJECT "target.object"
377#ifndef PW_REMOVE_DEPRECATED
378# ifdef PW_ENABLE_DEPRECATED
379# define PW_KEY_PRIORITY_MASTER "priority.master"
380# define PW_KEY_NODE_TARGET "node.target"
381# define PW_KEY_LOOP_RETRY_TIMEOUT "loop.retry-timeout"
382# else
383# define PW_KEY_PRIORITY_MASTER PW_DEPRECATED("priority.master")
384# define PW_KEY_NODE_TARGET PW_DEPRECATED("node.target")
385# define PW_KEY_LOOP_RETRY_TIMEOUT PW_DEPRECATED("loop.retry-timeout")
386# endif /* PW_ENABLE_DEPRECATED */
387#endif /* PW_REMOVE_DEPRECATED */
388
392#ifdef __cplusplus
393}
394#endif
395
396#endif /* PIPEWIRE_KEYS_H */