mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
filter-graph: add latency option to the convolver
Sometimes you want to use the convolver as a delay without adding latency so add a latency option to tweak the automatic latency reporting. Use this in the upmix rear delay filters.
This commit is contained in:
parent
8ee51cd88f
commit
8bcf0460d1
3 changed files with 17 additions and 3 deletions
|
|
@ -87,6 +87,7 @@ context.modules = [
|
|||
delay = 0.012
|
||||
filename = "/hilbert"
|
||||
length = 33
|
||||
latency = 0.0
|
||||
}
|
||||
}
|
||||
{
|
||||
|
|
@ -101,6 +102,7 @@ context.modules = [
|
|||
delay = 0.012
|
||||
filename = "/hilbert"
|
||||
length = 33
|
||||
latency = 0.0
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -330,6 +330,7 @@ extern struct spa_handle_factory spa_filter_graph_factory;
|
|||
* length = ...
|
||||
* channel = ...
|
||||
* resample_quality = ...
|
||||
* latency = ...
|
||||
* }
|
||||
* ...
|
||||
* }
|
||||
|
|
@ -361,6 +362,8 @@ extern struct spa_handle_factory spa_filter_graph_factory;
|
|||
* - `channel` The channel to use from the file as the IR.
|
||||
* - `resample_quality` The resample quality in case the IR does not match the graph
|
||||
* samplerate.
|
||||
* - `latency` The extra latency in seconds to report. When left unspecified (or < 0.0)
|
||||
* the convolver latency will be the length of the IR.
|
||||
*
|
||||
* ### Delay
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue