filter-graph: add latency support for the delay plugin

This commit is contained in:
Wim Taymans 2025-05-07 16:55:44 +02:00
parent dbca286de8
commit 8ee51cd88f
2 changed files with 35 additions and 10 deletions

View file

@ -379,6 +379,7 @@ extern struct spa_handle_factory spa_filter_graph_factory;
* label = delay
* config = {
* "max-delay" = ...
* "latency" = ...
* }
* control = {
* "Delay (s)" = ...
@ -392,6 +393,8 @@ extern struct spa_handle_factory spa_filter_graph_factory;
*
* - `max-delay` the maximum delay in seconds. The "Delay (s)" parameter will
* be clamped to this value.
* - `latency` the latency in seconds. This is 0 by default but in some cases
* the delay can be used to introduce latency with this option.
*
* ### Invert
*