mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Pan: remove/consolidate parameter-descriptor
This commit is contained in:
parent
efb63e1bf2
commit
60bcefd03d
14 changed files with 9 additions and 65 deletions
|
|
@ -351,17 +351,6 @@ Panner1in2out::what_can_be_automated() const
|
|||
return s;
|
||||
}
|
||||
|
||||
string
|
||||
Panner1in2out::describe_parameter (Evoral::Parameter p)
|
||||
{
|
||||
switch (p.type()) {
|
||||
case PanAzimuthAutomation:
|
||||
return _("L/R");
|
||||
default:
|
||||
return _pannable->describe_parameter (p);
|
||||
}
|
||||
}
|
||||
|
||||
string
|
||||
Panner1in2out::value_as_string (boost::shared_ptr<const AutomationControl> ac) const
|
||||
{
|
||||
|
|
|
|||
|
|
@ -56,7 +56,6 @@ class Panner1in2out : public Panner
|
|||
|
||||
static Panner* factory (boost::shared_ptr<Pannable>, boost::shared_ptr<Speakers>);
|
||||
|
||||
std::string describe_parameter (Evoral::Parameter);
|
||||
std::string value_as_string (boost::shared_ptr<const AutomationControl>) const;
|
||||
|
||||
XMLNode& get_state ();
|
||||
|
|
|
|||
|
|
@ -495,19 +495,6 @@ Panner2in2out::what_can_be_automated() const
|
|||
return s;
|
||||
}
|
||||
|
||||
string
|
||||
Panner2in2out::describe_parameter (Evoral::Parameter p)
|
||||
{
|
||||
switch (p.type()) {
|
||||
case PanAzimuthAutomation:
|
||||
return _("L/R");
|
||||
case PanWidthAutomation:
|
||||
return _("Width");
|
||||
default:
|
||||
return _pannable->describe_parameter (p);
|
||||
}
|
||||
}
|
||||
|
||||
string
|
||||
Panner2in2out::value_as_string (boost::shared_ptr<const AutomationControl> ac) const
|
||||
{
|
||||
|
|
|
|||
|
|
@ -62,7 +62,6 @@ class Panner2in2out : public Panner
|
|||
|
||||
static Panner* factory (boost::shared_ptr<Pannable>, boost::shared_ptr<Speakers>);
|
||||
|
||||
std::string describe_parameter (Evoral::Parameter);
|
||||
std::string value_as_string (boost::shared_ptr<const AutomationControl>) const;
|
||||
|
||||
XMLNode& get_state ();
|
||||
|
|
|
|||
|
|
@ -283,17 +283,6 @@ Pannerbalance::what_can_be_automated() const
|
|||
return s;
|
||||
}
|
||||
|
||||
string
|
||||
Pannerbalance::describe_parameter (Evoral::Parameter p)
|
||||
{
|
||||
switch (p.type()) {
|
||||
case PanAzimuthAutomation:
|
||||
return _("L/R");
|
||||
default:
|
||||
return _pannable->describe_parameter (p);
|
||||
}
|
||||
}
|
||||
|
||||
string
|
||||
Pannerbalance::value_as_string (boost::shared_ptr<const AutomationControl> ac) const
|
||||
{
|
||||
|
|
|
|||
|
|
@ -54,7 +54,6 @@ class Pannerbalance : public Panner
|
|||
|
||||
static Panner* factory (boost::shared_ptr<Pannable>, boost::shared_ptr<Speakers>);
|
||||
|
||||
std::string describe_parameter (Evoral::Parameter);
|
||||
std::string value_as_string (boost::shared_ptr<const AutomationControl>) const;
|
||||
|
||||
XMLNode& get_state ();
|
||||
|
|
|
|||
|
|
@ -406,21 +406,6 @@ VBAPanner::what_can_be_automated() const
|
|||
return s;
|
||||
}
|
||||
|
||||
string
|
||||
VBAPanner::describe_parameter (Evoral::Parameter p)
|
||||
{
|
||||
switch (p.type()) {
|
||||
case PanAzimuthAutomation:
|
||||
return _("Azimuth");
|
||||
case PanWidthAutomation:
|
||||
return _("Width");
|
||||
case PanElevationAutomation:
|
||||
return _("Elevation");
|
||||
default:
|
||||
return _pannable->describe_parameter (p);
|
||||
}
|
||||
}
|
||||
|
||||
string
|
||||
VBAPanner::value_as_string (boost::shared_ptr<const AutomationControl> ac) const
|
||||
{
|
||||
|
|
|
|||
|
|
@ -57,7 +57,6 @@ public:
|
|||
|
||||
void set_azimuth_elevation (double azimuth, double elevation);
|
||||
|
||||
std::string describe_parameter (Evoral::Parameter);
|
||||
std::string value_as_string (boost::shared_ptr<const AutomationControl>) const;
|
||||
|
||||
XMLNode& get_state ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue