diff options
-rw-r--r-- | libs/ardour/panner.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/panner.cc b/libs/ardour/panner.cc index c3f4d52a56..0d86bb8db1 100644 --- a/libs/ardour/panner.cc +++ b/libs/ardour/panner.cc @@ -1448,6 +1448,8 @@ Panner::set_stereo_pan (double direction_as_lr_fract, double width) int l_index = 0; int r_index = 1; + cerr << "New stereo pan pos = " << direction_as_lr_fract << " w = " << width; + assert (_streampanners.size() > 1); if (width < 0.0) { @@ -1473,6 +1475,8 @@ Panner::set_stereo_pan (double direction_as_lr_fract, double width) l_pos = max (min (l_pos, 180.0), 0.0); r_pos = max (min (r_pos, 180.0), 0.0); + cerr << " left = " << l_pos << " right = " << r_pos << " moving ? " << move_left << '/' << move_right << endl; + if (move_left && move_right) { _streampanners[l_index]->set_position (AngularVector (l_pos, 0.0)); _streampanners[r_index]->set_position (AngularVector (r_pos, 0.0)); |