summaryrefslogtreecommitdiff
path: root/libs/ardour/gain.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/gain.cc')
-rw-r--r--libs/ardour/gain.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/gain.cc b/libs/ardour/gain.cc
index 369df7348c..b067e6c08d 100644
--- a/libs/ardour/gain.cc
+++ b/libs/ardour/gain.cc
@@ -22,12 +22,12 @@
using namespace ARDOUR;
Gain::Gain ()
- : Curve (0.0, 2.0, 1.0f) /* XXX yuck; clamps gain to -inf .. +6db */
+ : AutomationList (ParamID(GainAutomation), 0.0, 2.0, 1.0f) /* XXX yuck; clamps gain to -inf .. +6db */
{
}
Gain::Gain (const Gain& other)
- : Curve (other)
+ : AutomationList (other)
{
}
@@ -35,7 +35,7 @@ Gain&
Gain::operator= (const Gain& other)
{
if (this != &other) {
- Curve::operator= (other);
+ AutomationList::operator= (other);
}
return *this;
}