-std::string
-Amp::value_as_string (boost::shared_ptr<const AutomationControl> ac) const
-{
- if (ac == _gain_control) {
- char buffer[32];
- snprintf (buffer, sizeof (buffer), _("%.2fdB"), ac->internal_to_user (ac->get_value ()));
- return buffer;
- }
-
- return Automatable::value_as_string (ac);
-}
-