summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/amp.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2012-06-11 10:42:30 +0000
committerCarl Hetherington <carl@carlh.net>2012-06-11 10:42:30 +0000
commitc40437430acf4b65d8acb8b084eae8cd2f6f5402 (patch)
treefb86bc9a651b442979d31c827020856e2c08097b /libs/ardour/ardour/amp.h
parent8f371cd60d3d2680dfd8de7702eb5f43c9f23240 (diff)
Make send automation work (#4734).
git-svn-id: svn://localhost/ardour2/branches/3.0@12650 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/amp.h')
-rw-r--r--libs/ardour/ardour/amp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/ardour/amp.h b/libs/ardour/ardour/amp.h
index fa2eb98ebf..82f93d312b 100644
--- a/libs/ardour/ardour/amp.h
+++ b/libs/ardour/ardour/amp.h
@@ -48,6 +48,8 @@ public:
bool apply_gain () const { return _apply_gain; }
void apply_gain (bool yn) { _apply_gain = yn; }
+ void set_gain_automation_buffer (gain_t *);
+
void setup_gain_automation (framepos_t start_frame, framepos_t end_frame, framecnt_t nframes);
bool apply_gain_automation() const { return _apply_gain_automation; }
@@ -107,6 +109,9 @@ private:
float _current_gain;
boost::shared_ptr<GainControl> _gain_control;
+
+ /** Buffer that we should use for gain automation */
+ gain_t* _gain_automation_buffer;
};