13
0

reinstate input monitoring function

This commit is contained in:
Paul Davis 2017-04-10 13:05:06 +01:00
parent 68e57101ad
commit 5642dd4496

View File

@ -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