diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-12-08 21:01:20 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-12-08 21:01:20 +0000 |
commit | 32ac2049fe5a873853ac3c3b6dcb682150222dd3 (patch) | |
tree | 8fbb380b65e08dabcd76a9ea7b2f41a66ec7375b /libs/ardour/panner.cc | |
parent | ffe783e3086ac70fb933e7d1cd5818b4ef23e29a (diff) |
minor panner debugging, cont'd
git-svn-id: svn://localhost/ardour2/branches/3.0@8223 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/panner.cc')
-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)); |