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/ardour/panner.h | |
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/ardour/panner.h')
-rw-r--r-- | libs/ardour/ardour/panner.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/ardour/panner.h b/libs/ardour/ardour/panner.h index 51d75ebf03..4c585f8b31 100644 --- a/libs/ardour/ardour/panner.h +++ b/libs/ardour/ardour/panner.h @@ -151,6 +151,9 @@ public: return fabs (a.azi - b.azi) < 1.0; } + virtual void freeze (); + virtual void thaw (); + protected: boost::shared_ptr<Pannable> _pannable; @@ -158,6 +161,8 @@ protected: virtual void distribute_one_automated (AudioBuffer&, BufferSet& obufs, framepos_t start, framepos_t end, pframes_t nframes, pan_t** buffers, uint32_t which) = 0; + + int32_t _frozen; }; } // namespace |