diff options
author | David Robillard <d@drobilla.net> | 2007-07-03 18:39:09 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-07-03 18:39:09 +0000 |
commit | 133a66920bbdd3bc11bd4ae866048b0f1f52ecd4 (patch) | |
tree | aee991080adccaee612643ef3c06787774353346 /gtk2_ardour/automation_controller.cc | |
parent | 0da29770276604a7f0a367cd8eb5ff2fff7a2233 (diff) |
s/ParamID/Parameter/
git-svn-id: svn://localhost/ardour2/trunk@2098 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/automation_controller.cc')
-rw-r--r-- | gtk2_ardour/automation_controller.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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<AutomationList> 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<AutomationControl>(new AutomationControl(s, al)); } return boost::shared_ptr<AutomationController>(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()); |