mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 23:25:43 +01:00
implementation side of Controllable::get_user_string() with const arg
This commit is contained in:
parent
99bc6a4290
commit
d7cce2ff7d
4 changed files with 4 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue