mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 16:46:35 +01:00
Consistent processor labels "Meter"
Track name is implicit, so instead of "meter-<name>", showing a translatable label "Meter" is sufficient and consistent with "Fader". Under the hood, for introspection, the processor name remains as is.
This commit is contained in:
parent
fb186aaaa0
commit
35aab65d59
2 changed files with 9 additions and 0 deletions
|
|
@ -49,6 +49,8 @@ public:
|
||||||
void reset ();
|
void reset ();
|
||||||
void reset_max ();
|
void reset_max ();
|
||||||
|
|
||||||
|
std::string display_name() const;
|
||||||
|
|
||||||
bool can_support_io_configuration (const ChanCount& in, ChanCount& out);
|
bool can_support_io_configuration (const ChanCount& in, ChanCount& out);
|
||||||
bool configure_io (ChanCount in, ChanCount out);
|
bool configure_io (ChanCount in, ChanCount out);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,8 @@
|
||||||
#include "ardour/rc_configuration.h"
|
#include "ardour/rc_configuration.h"
|
||||||
#include "ardour/runtime_functions.h"
|
#include "ardour/runtime_functions.h"
|
||||||
|
|
||||||
|
#include "pbd/i18n.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
|
|
@ -73,6 +75,11 @@ PeakMeter::~PeakMeter ()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string
|
||||||
|
PeakMeter::display_name() const
|
||||||
|
{
|
||||||
|
return _("Meter");
|
||||||
|
}
|
||||||
|
|
||||||
/** Get peaks from @a bufs
|
/** Get peaks from @a bufs
|
||||||
* Input acceptance is lenient - the first n buffers from @a bufs will
|
* Input acceptance is lenient - the first n buffers from @a bufs will
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue