af_pan: add af-command support to change the matrix

This allows for seamless changes in the downmixing matrix without having
to reinitialize the filter chain.
This commit is contained in:
Hector Martin
2016-09-19 21:22:58 +09:00
committed by wm4
parent 0525f5fa93
commit ed8540c38e
2 changed files with 38 additions and 19 deletions

View File

@@ -312,6 +312,13 @@ Available filters are:
``mpv '--af=format=channels=5.1' '--audio-channels=5.1'`` would always force
remixing audio to 5.1 and output it like this.
This filter supports the following ``af-command`` commands:
``set-matrix``
Set the ``<matrix>`` argument dynamically. This can be used to change
the mixing matrix at runtime, without reinitializing the entire filter
chain.
``drc[=method:target]``
Applies dynamic range compression. This maximizes the volume by compressing
the audio signal's dynamic range. (Formerly called ``volnorm``.)