13
0

why use fabs?

git-svn-id: svn://localhost/ardour2/branches/3.0@8747 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-02-07 17:34:19 +00:00
parent 9b17f35576
commit 466cc57416

View File

@ -142,7 +142,7 @@ Panner2in2out::update ()
const double direction_as_lr_fract = _pannable->pan_azimuth_control->get_value();
if (width < 0.0) {
width = fabs (width);
width = -width;
pos[0] = direction_as_lr_fract + (width/2.0); // left signal lr_fract
pos[1] = direction_as_lr_fract - (width/2.0); // right signal lr_fract
} else {