From e36affe3ae9a880759b6f4ab099df0f7518d1819 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 19 Jan 2021 17:04:04 -0700 Subject: [PATCH] remove another NUTEMPO #warning (use time_domain() of the processor) --- libs/ardour/return.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libs/ardour/return.cc b/libs/ardour/return.cc index 17365377fb..6c814f1289 100644 --- a/libs/ardour/return.cc +++ b/libs/ardour/return.cc @@ -46,14 +46,12 @@ Return::name_and_id_new_return (Session& s, uint32_t& bitslot) Return::Return (Session& s, bool internal) - : IOProcessor (s, (internal ? false : true), false, - name_and_id_new_return (s, _bitslot), "", DataType::AUDIO, true) + : IOProcessor (s, (internal ? false : true), false, name_and_id_new_return (s, _bitslot), "", DataType::AUDIO, true) , _metering (false) { /* never muted */ -#warning NUTEMPO QUESTION what time domain shoudl this really use? - boost::shared_ptr gl (new AutomationList (Evoral::Parameter (GainAutomation), Temporal::AudioTime)); + boost::shared_ptr gl (new AutomationList (Evoral::Parameter (GainAutomation), time_domain())); _gain_control = boost::shared_ptr (new GainControl (_session, Evoral::Parameter (GainAutomation), gl)); add_control (_gain_control);