summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/amp.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2012-01-21 16:38:45 +0000
committerCarl Hetherington <carl@carlh.net>2012-01-21 16:38:45 +0000
commita8bb49e5d89f2689d6aeb61381e3c4bd3560d859 (patch)
tree92ee741951ce07175db1be21c412269e7fdde042 /libs/ardour/ardour/amp.h
parent0c30881ad4025564d4438ff96c5b322cdfbe7757 (diff)
Add a send amp's gain control as a send controllable.
Tweak AutomationControl now that PBD::Controllable has a default implementation of user_to_ui and ui_to_user. Add correct implementations of these methods to Amp::GainControl. Hence allow SendProcessorEntry to use the generic mini-fader-adding code from ProcessorEntry. git-svn-id: svn://localhost/ardour2/branches/3.0@11292 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/amp.h')
-rw-r--r--libs/ardour/ardour/amp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/ardour/amp.h b/libs/ardour/ardour/amp.h
index 35f084d04c..b811cca173 100644
--- a/libs/ardour/ardour/amp.h
+++ b/libs/ardour/ardour/amp.h
@@ -84,6 +84,9 @@ public:
void set_value (double val);
double get_value (void) const;
+ double user_to_ui (double) const;
+ double ui_to_user (double) const;
+
Amp* _amp;
};