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

@ -657,6 +657,8 @@ struct pw_impl_node {
struct spa_fraction latency; /**< requested latency */
uint32_t quantum_size; /**< desired quantum */
struct spa_fraction max_latency; /**< miximum latency */
uint32_t max_quantum_size; /**< max supported quantum */
struct spa_source source; /**< source to remotely trigger this node */
struct pw_memblock *activation;
struct {