Add PanControllable::get_user_string() (provide indirect access to Panner::value_as_string(); make ::get_user_string() use a const arg everywhere

This commit is contained in:
Paul Davis 2016-05-16 16:18:52 -04:00
parent 8346fab567
commit 534b2de35b
15 changed files with 19 additions and 13 deletions

View file

@ -420,7 +420,7 @@ VBAPanner::describe_parameter (Evoral::Parameter p)
}
string
VBAPanner::value_as_string (boost::shared_ptr<AutomationControl> ac) const
VBAPanner::value_as_string (boost::shared_ptr<const AutomationControl> ac) const
{
/* DO NOT USE LocaleGuard HERE */
double val = ac->get_value();