From 5642dd4496a9b715f122e2bb8344828735dd1cc2 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 10 Apr 2017 13:05:06 +0100 Subject: [PATCH] reinstate input monitoring function --- libs/ardour/track.cc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/libs/ardour/track.cc b/libs/ardour/track.cc index 2673341f1f..01c5a58c16 100644 --- a/libs/ardour/track.cc +++ b/libs/ardour/track.cc @@ -18,6 +18,7 @@ #include "pbd/error.h" #include "ardour/amp.h" +#include "ardour/audioengine.h" #include "ardour/debug.h" #include "ardour/delivery.h" #include "ardour/disk_reader.h" @@ -552,13 +553,17 @@ Track::playlist () void Track::request_input_monitoring (bool m) { - // XXX DISK + for (PortSet::iterator i = _input->ports().begin(); i != _input->ports().end(); ++i) { + AudioEngine::instance()->request_input_monitoring ((*i)->name(), m); + } } void Track::ensure_input_monitoring (bool m) { - // XXX DISK + for (PortSet::iterator i = _input->ports().begin(); i != _input->ports().end(); ++i) { + AudioEngine::instance()->ensure_input_monitoring ((*i)->name(), m); + } } bool