]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
compress: Overhaul the meaning of --aggressiveness.
authorAndre Noll <maan@tuebingen.mpg.de>
Sat, 1 Sep 2018 19:07:54 +0000 (21:07 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 2 Sep 2018 15:42:54 +0000 (17:42 +0200)
Large values for the argument to --aggressiveless are next to useless
because they correspond to gain factors which are much too large. The
default value of four is already too large as it allows for a 16-fold
volume amplification.

This patch changes the meaning of the argument to be a multiplication
rather than a shift. Admissible values are restricted to the range
0..10, which allows for fine-grained control over the maximal gain
factor.

The maximal gain factor is four, so the inertia argument must not
exceed 14 to guarantee that no integer overflow can happen.


No differences found