2023-02-08 18:12:00 +01:00
|
|
|
/* Simple Plugin API */
|
|
|
|
|
/* SPDX-FileCopyrightText: Copyright © 2019 Wim Taymans */
|
|
|
|
|
/* SPDX-License-Identifier: MIT */
|
2019-11-18 09:14:52 +01:00
|
|
|
|
|
|
|
|
#ifndef SPA_NODE_KEYS_H
|
|
|
|
|
#define SPA_NODE_KEYS_H
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
2021-05-21 14:03:07 +10:00
|
|
|
/**
|
|
|
|
|
* \addtogroup spa_node
|
|
|
|
|
* \{
|
|
|
|
|
*/
|
|
|
|
|
|
2019-11-18 09:14:52 +01:00
|
|
|
/** node keys */
|
|
|
|
|
#define SPA_KEY_NODE_NAME "node.name" /**< a node name */
|
2023-08-31 16:06:51 +02:00
|
|
|
#define SPA_KEY_NODE_DESCRIPTION "node.description" /**< localized human readable node one-line
|
|
|
|
|
* description. Ex. "Foobar USB Headset" */
|
2019-11-18 09:14:52 +01:00
|
|
|
#define SPA_KEY_NODE_LATENCY "node.latency" /**< the requested node latency */
|
2021-03-03 13:24:22 +01:00
|
|
|
#define SPA_KEY_NODE_MAX_LATENCY "node.max-latency" /**< maximum supported latency */
|
2019-11-18 09:14:52 +01:00
|
|
|
|
|
|
|
|
#define SPA_KEY_NODE_DRIVER "node.driver" /**< the node can be a driver */
|
|
|
|
|
#define SPA_KEY_NODE_ALWAYS_PROCESS "node.always-process" /**< call the process function even if
|
|
|
|
|
* not linked. */
|
|
|
|
|
#define SPA_KEY_NODE_PAUSE_ON_IDLE "node.pause-on-idle" /**< if the node should be paused
|
|
|
|
|
* immediately when idle. */
|
|
|
|
|
#define SPA_KEY_NODE_MONITOR "node.monitor" /**< the node has monitor ports */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** port keys */
|
|
|
|
|
#define SPA_KEY_PORT_NAME "port.name" /**< a port name */
|
|
|
|
|
#define SPA_KEY_PORT_ALIAS "port.alias" /**< a port alias */
|
|
|
|
|
#define SPA_KEY_PORT_MONITOR "port.monitor" /**< this port is a monitor port */
|
2023-05-03 19:19:22 +03:00
|
|
|
#define SPA_KEY_PORT_IGNORE_LATENCY "port.ignore-latency" /**< latency ignored by peers */
|
2024-06-24 12:34:38 +02:00
|
|
|
#define SPA_KEY_PORT_GROUP "port.group" /**< the port group this port belongs to */
|
2019-11-18 09:14:52 +01:00
|
|
|
|
|
|
|
|
|
2021-05-21 14:03:07 +10:00
|
|
|
/**
|
|
|
|
|
* \}
|
|
|
|
|
*/
|
|
|
|
|
|
2019-11-18 09:14:52 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
} /* extern "C" */
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif /* SPA_NODE_KEYS_H */
|