Consistent DiskIO Processor naming

Use a name-prefix when creating the processor just like later
DiskReader::set_name() DiskWriter::set_name() do.
This commit is contained in:
Robin Gareus 2021-02-19 14:01:00 +01:00
parent e6bbcd415d
commit 8089998eaa
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
2 changed files with 4 additions and 4 deletions

View file

@ -58,7 +58,7 @@ DiskReader::Declicker DiskReader::loop_declick_out;
samplecnt_t DiskReader::loop_fade_length (0);
DiskReader::DiskReader (Session& s, Track& t, string const& str, DiskIOProcessor::Flag f)
: DiskIOProcessor (s, t, str, f)
: DiskIOProcessor (s, t, X_("player:") + str, f)
, overwrite_sample (0)
, run_must_resolve (false)
, _declick_amp (s.nominal_sample_rate ())
@ -79,7 +79,7 @@ DiskReader::~DiskReader ()
std::string
DiskReader::display_name () const
{
return std::string (_("player"));
return std::string (_("Player"));
}
void

View file

@ -47,7 +47,7 @@ ARDOUR::samplecnt_t DiskWriter::_chunk_samples = DiskWriter::default_chunk_sampl
PBD::Signal0<void> DiskWriter::Overrun;
DiskWriter::DiskWriter (Session& s, Track& t, string const & str, DiskIOProcessor::Flag f)
: DiskIOProcessor (s, t, str, f)
: DiskIOProcessor (s, t, X_("recorder:") + str, f)
, _record_enabled (0)
, _record_safe (0)
, _capture_start_sample (0)
@ -90,7 +90,7 @@ DiskWriter::default_chunk_samples ()
std::string
DiskWriter::display_name () const
{
return std::string (_ ("recorder"));
return std::string (_("Recorder"));
}
void