diff options
Diffstat (limited to 'libs/ardour/ardour/panner.h')
-rw-r--r-- | libs/ardour/ardour/panner.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libs/ardour/ardour/panner.h b/libs/ardour/ardour/panner.h index c1f925df92..f328b7818b 100644 --- a/libs/ardour/ardour/panner.h +++ b/libs/ardour/ardour/panner.h @@ -110,8 +110,6 @@ public: void set_automation_state (AutoState); AutoState automation_state() const; - virtual std::set<Evoral::Parameter> what_can_be_automated() const; - bool touching() const; /** @@ -145,8 +143,16 @@ public: protected: friend PanControllable; + friend Pannable; // allow what_can_be_automated + boost::shared_ptr<Pannable> _pannable; + std::set<Evoral::Parameter> _can_automate_list; + + const std::set<Evoral::Parameter>& what_can_be_automated() const { + return _can_automate_list; + } + virtual std::string value_as_string (boost::shared_ptr<const AutomationControl>) const = 0; virtual void distribute_one (AudioBuffer&, BufferSet& obufs, gain_t gain_coeff, pframes_t nframes, uint32_t which) = 0; |