From f1c4d20e6577f32018e20efc4ab9da7d4e1ab4ac Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 26 Apr 2017 21:45:50 +0200 Subject: audio: move replaygain control to top-level options af_volume is deprecated, and so are its replaygain sub-options. To make it possible to use replaygain without deprecated options (and of course to make it available at all after af_volume is dropped), reintroduce them as top-level options. This also means that they are easily changeable at runtime by using them as properties. Change the "volume" property to use the new update mechanism as well. We don't actually bother sharing the implementation between new and deprecated mechanisms, as the deprecated one will simply be deleted. For the from_dB() functions, we mention anders' copyright, although I'm not sure if a mere formula is copyrightable. This will have to be determined later. This whole change is mostly untested. Our distributed human CI will take care of it. --- DOCS/man/af.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'DOCS/man/af.rst') diff --git a/DOCS/man/af.rst b/DOCS/man/af.rst index 9dff18ebbe..bc25a9f7b3 100644 --- a/DOCS/man/af.rst +++ b/DOCS/man/af.rst @@ -208,6 +208,9 @@ Available filters are: best to use the *Master* volume control of your sound card or the volume knob on your amplifier. + *WARNING*: This filter is deprecated. Use the top-level options like + ``--volume`` and ``--replaygain...`` instead. + *NOTE*: This filter is not reentrant and can therefore only be enabled once for every audio stream. -- cgit v1.2.3