From 53507959d6023d07eb6bb73c022df6e09e61b932 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 3 Feb 2021 02:32:10 +0100 Subject: [PATCH] Run input meters, concurrently with cycle-start --- libs/ardour/port_manager.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/ardour/port_manager.cc b/libs/ardour/port_manager.cc index 00df3ebecb..08d1c8f7da 100644 --- a/libs/ardour/port_manager.cc +++ b/libs/ardour/port_manager.cc @@ -1049,6 +1049,7 @@ PortManager::cycle_start (pframes_t nframes, Session* s) tl.push_back (boost::bind (&Port::cycle_start, p->second, nframes)); } } + tl.push_back (boost::bind (&PortManager::run_input_meters, this, nframes, s ? s->nominal_sample_rate () : 0)); s->rt_tasklist()->process (tl); } else { for (Ports::iterator p = _cycle_ports->begin(); p != _cycle_ports->end(); ++p) { @@ -1056,6 +1057,7 @@ PortManager::cycle_start (pframes_t nframes, Session* s) p->second->cycle_start (nframes); } } + run_input_meters (nframes, s ? s->nominal_sample_rate () : 0); } }