13
0

make reversed width for the 2in/2out panner actually do something

git-svn-id: svn://localhost/ardour2/branches/3.0@8744 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-02-07 17:21:11 +00:00
parent a9d331aa98
commit 4e40ac9358

View File

@ -138,10 +138,11 @@ Panner2in2out::update ()
*/
float pos[2];
const double width = _pannable->pan_width_control->get_value();
double width = _pannable->pan_width_control->get_value();
const double direction_as_lr_fract = _pannable->pan_azimuth_control->get_value();
if (width < 0.0) {
width = fabs (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 {