filter-chain: add max builtin plugin

add max which takes two inputs and output the max value of them. it can
e.g. be used to create the same sidechain input to two mono limiters.
This commit is contained in:
Torkel Niklasson 2024-12-04 12:01:05 +01:00
parent a71cd05401
commit bfb5ae18d1
2 changed files with 51 additions and 0 deletions

View file

@ -466,6 +466,12 @@ extern struct spa_handle_factory spa_filter_graph_factory;
* "Freq", "Ampl", "Offset" and "Phase" can be used to control the sine wave
* frequency, amplitude, offset and phase.
*
* ### Max
*
* Use the `max` plugin if you need to select the max value of two channels.
*
* It has two input ports "In 1" and "In 2" and one output port "Out".
*
* ## SOFA filter
*
* There is an optional builtin SOFA filter available.