summaryrefslogtreecommitdiff
path: root/libs/ardour/io.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-07-03 18:39:09 +0000
committerDavid Robillard <d@drobilla.net>2007-07-03 18:39:09 +0000
commit133a66920bbdd3bc11bd4ae866048b0f1f52ecd4 (patch)
treeaee991080adccaee612643ef3c06787774353346 /libs/ardour/io.cc
parent0da29770276604a7f0a367cd8eb5ff2fff7a2233 (diff)
s/ParamID/Parameter/
git-svn-id: svn://localhost/ardour2/trunk@2098 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/io.cc')
-rw-r--r--libs/ardour/io.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/io.cc b/libs/ardour/io.cc
index aab5a9d95f..057d1dcb64 100644
--- a/libs/ardour/io.cc
+++ b/libs/ardour/io.cc
@@ -134,7 +134,7 @@ IO::IO (Session& s, const string& name,
deferred_state = 0;
boost::shared_ptr<AutomationList> gl(
- new AutomationList(ParamID(GainAutomation), 0.0, 2.0, 1.0));
+ new AutomationList(Parameter(GainAutomation), 0.0, 2.0, 1.0));
_gain_control = boost::shared_ptr<GainControl>(
new GainControl(X_("gaincontrol"), *this, gl));
@@ -174,7 +174,7 @@ IO::IO (Session& s, const XMLNode& node, DataType dt)
apply_gain_automation = false;
boost::shared_ptr<AutomationList> gl(
- new AutomationList(ParamID(GainAutomation), 0.0, 2.0, 1.0));
+ new AutomationList(Parameter(GainAutomation), 0.0, 2.0, 1.0));
_gain_control = boost::shared_ptr<GainControl>(
new GainControl(X_("gaincontrol"), *this, gl));
@@ -1360,7 +1360,7 @@ IO::set_state (const XMLNode& node)
if ((*iter)->name() == X_("Automation")) {
- set_automation_state (*(*iter), ParamID(GainAutomation));
+ set_automation_state (*(*iter), Parameter(GainAutomation));
}
if ((*iter)->name() == X_("controllable")) {
@@ -2193,7 +2193,7 @@ IO::clear_automation ()
}
void
-IO::set_parameter_automation_state (ParamID param, AutoState state)
+IO::set_parameter_automation_state (Parameter param, AutoState state)
{
// XXX: would be nice to get rid of this special hack