mpv/options
wm4 f1c4d20e65 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.
2017-04-26 21:45:55 +02:00
..
m_config.c options: deprecate --loop 2017-04-10 21:19:13 +02:00
m_config.h options: remove deprecated sub-option handling for --vo and --ao 2016-11-25 21:17:25 +01:00
m_option.c video: support positional arguments for automatic lavfi option bridge 2017-04-03 18:12:42 +02:00
m_option.h audio: move replaygain control to top-level options 2017-04-26 21:45:55 +02:00
m_property.c command: fix "cycle"/"add" not working on most properties 2016-09-18 17:55:27 +02:00
m_property.h player: more option/property consistency fixes 2016-09-18 16:08:21 +02:00
options.c audio: move replaygain control to top-level options 2017-04-26 21:45:55 +02:00
options.h audio: move replaygain control to top-level options 2017-04-26 21:45:55 +02:00
parse_commandline.c parse_commandline: guard glob() use 2017-04-04 10:47:57 +02:00
parse_commandline.h Update license headers 2015-04-13 12:10:01 +02:00
parse_configfile.c config: do not resolve default profile during "include" processing 2017-01-13 12:02:46 +01:00
parse_configfile.h Update license headers 2015-04-13 12:10:01 +02:00
path.c path: default ~~ paths to home directory 2016-09-29 16:44:01 +02:00
path.h player: make watch later/resume work when "playing" directories 2016-01-06 22:40:55 +01:00