context: make a new node.max-latency property

node.latency also influences the pipeline latency in that it can
push the latency above the default value.
node.max-latency, instead, is only used to clamp the final latency
of the pipeline.
This commit is contained in:
Wim Taymans 2021-03-03 13:24:22 +01:00
parent 4389e44903
commit c8804c3d6d
7 changed files with 38 additions and 11 deletions

View file

@ -32,6 +32,7 @@ extern "C" {
/** node keys */
#define SPA_KEY_NODE_NAME "node.name" /**< a node name */
#define SPA_KEY_NODE_LATENCY "node.latency" /**< the requested node latency */
#define SPA_KEY_NODE_MAX_LATENCY "node.max-latency" /**< maximum supported latency */
#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