]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
compress.c: Simplify volume adjusting code.
authorAndre Noll <maan@systemlinux.org>
Sat, 9 Feb 2008 19:32:36 +0000 (20:32 +0100)
committerAndre Noll <maan@systemlinux.org>
Sat, 9 Feb 2008 19:32:36 +0000 (20:32 +0100)
There's no need to distinguish the cases sample > 0 and
sample < 0. Work with its absolute value instead and get
rid of some similar code in the hot path.

Also print a log message in case clipping occurs.


No differences found