From 5a2ea4d0e2b9afb23da25e43e1f6b7a3cbe4df11 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 28 Sep 2017 15:45:12 +0200 Subject: Delayline naming -- for debug purposes --- libs/ardour/delayline.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'libs/ardour/delayline.cc') diff --git a/libs/ardour/delayline.cc b/libs/ardour/delayline.cc index 689fd58c81..d92eec6a0a 100644 --- a/libs/ardour/delayline.cc +++ b/libs/ardour/delayline.cc @@ -33,7 +33,7 @@ using namespace PBD; using namespace ARDOUR; DelayLine::DelayLine (Session& s, const std::string& name) - : Processor (s, string_compose ("latency-compensation-%1-%2", name, this)) + : Processor (s, string_compose ("latcomp-%1-%2", name, this)) , _delay(0) , _pending_delay(0) , _bsiz(0) @@ -48,6 +48,12 @@ DelayLine::~DelayLine () { } +bool +DelayLine::set_name (const string& name) +{ + return Processor::set_name (string_compose ("latcomp-%1-%2", name, this)); +} + #define FADE_LEN (16) void DelayLine::run (BufferSet& bufs, samplepos_t /* start_sample */, samplepos_t /* end_sample */, double /* speed */, pframes_t nsamples, bool) -- cgit v1.2.3