implementation side of Controllable::get_user_string() with const arg
This commit is contained in:
@@ -405,7 +405,7 @@ Amp::visible() const
|
||||
}
|
||||
|
||||
std::string
|
||||
Amp::value_as_string (boost::shared_ptr<AutomationControl> ac) const
|
||||
Amp::value_as_string (boost::shared_ptr<const AutomationControl> ac) const
|
||||
{
|
||||
if (ac == _gain_control) {
|
||||
char buffer[32];
|
||||
|
||||
@@ -519,7 +519,7 @@ Automatable::clear_controls ()
|
||||
}
|
||||
|
||||
string
|
||||
Automatable::value_as_string (boost::shared_ptr<AutomationControl> ac) const
|
||||
Automatable::value_as_string (boost::shared_ptr<const AutomationControl> ac) const
|
||||
{
|
||||
return ARDOUR::value_as_string(ac->desc(), ac->get_value());
|
||||
}
|
||||
|
||||
@@ -109,7 +109,7 @@ Panner::describe_parameter (Evoral::Parameter p)
|
||||
}
|
||||
|
||||
string
|
||||
Panner::value_as_string (boost::shared_ptr<AutomationControl> ac) const
|
||||
Panner::value_as_string (boost::shared_ptr<const AutomationControl> ac) const
|
||||
{
|
||||
return _pannable->value_as_string (ac);
|
||||
}
|
||||
|
||||
@@ -409,7 +409,7 @@ Send::display_to_user () const
|
||||
}
|
||||
|
||||
string
|
||||
Send::value_as_string (boost::shared_ptr<AutomationControl> ac) const
|
||||
Send::value_as_string (boost::shared_ptr<const AutomationControl> ac) const
|
||||
{
|
||||
return _amp->value_as_string (ac);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user