diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-05-31 13:58:59 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-05-31 13:58:59 +0000 |
commit | 0b958b7f15decdce3ebb8234504014768ac12bba (patch) | |
tree | 8ac90c0fdf336b657cc574d17fceb3e6e371cd23 /libs/ardour/panner.cc | |
parent | 78c0811ed7319a87be66c1207d1b01360576977b (diff) |
allow alt-drag on stereo panner to move just one side of the stereo field. this wiggles a bit, possibly because of rounding, and that probably needs to be addressed
git-svn-id: svn://localhost/ardour2/branches/3.0@12500 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/panner.cc')
-rw-r--r-- | libs/ardour/panner.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libs/ardour/panner.cc b/libs/ardour/panner.cc index 6f3aec4646..2f52cb26d8 100644 --- a/libs/ardour/panner.cc +++ b/libs/ardour/panner.cc @@ -118,3 +118,17 @@ Panner::set_state (XMLNode const &, int) { return 0; } + +void +Panner::freeze () +{ + _frozen++; +} + +void +Panner::thaw () +{ + if (_frozen > 0.0) { + _frozen--; + } +} |