From 133a66920bbdd3bc11bd4ae866048b0f1f52ecd4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 3 Jul 2007 18:39:09 +0000 Subject: s/ParamID/Parameter/ git-svn-id: svn://localhost/ardour2/trunk@2098 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/automation_controller.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour/automation_controller.cc') diff --git a/gtk2_ardour/automation_controller.cc b/gtk2_ardour/automation_controller.cc index 3cb4cc5a1e..56ace4db32 100644 --- a/gtk2_ardour/automation_controller.cc +++ b/gtk2_ardour/automation_controller.cc @@ -65,7 +65,7 @@ AutomationController::create(Session& s, boost::shared_ptr al, b { Gtk::Adjustment* adjustment = manage(new Gtk::Adjustment(al->default_value(), al->get_min_y(), al->get_max_y())); if (!ac) { - PBD::warning << "Creating AutomationController for " << al->param_id().to_string() << endmsg; + PBD::warning << "Creating AutomationController for " << al->parameter().to_string() << endmsg; ac = boost::shared_ptr(new AutomationControl(s, al)); } return boost::shared_ptr(new AutomationController(ac, adjustment)); @@ -76,7 +76,7 @@ AutomationController::update_label(char* label, int label_len) { if (label && label_len) // Hack to display CC rounded to int - if (_controllable->list()->param_id().type() == MidiCCAutomation) + if (_controllable->list()->parameter().type() == MidiCCAutomation) snprintf(label, label_len, "%d", (int)_controllable->get_value()); else snprintf(label, label_len, "%.3f", _controllable->get_value()); -- cgit v1.2.3