#include "ardour/send.h"
#include "ardour/session.h"
#include "ardour/source_factory.h"
+#include "ardour/track.h"
#include "ardour/utils.h"
#include "ardour/session_playlists.h"
#include "ardour/route.h"
collect_playback = true;
}
- if (collect_playback) {
+ if ((_track->monitoring() & MonitorDisk) || collect_playback) {
/* we're doing playback */
_input->process_input (_meter, start_frame, end_frame, nframes);
}
- if ((_monitoring & MonitorInput) ||
- (!(_monitoring & MonitorDisk) &&
- (diskstream->record_enabled() && !can_record && !_session.config.get_auto_input()))) {
+ if ((_monitoring & MonitorInput) || (!(_monitoring & MonitorDisk) &&
+ (diskstream->record_enabled() &&
+ !can_record &&
+ !_session.config.get_auto_input()))) {
/* not actually recording, but we want to hear the input material anyway,
at least potentially (depending on monitoring options)
*/
- cerr << name() << " do the passthru thing with monitoring = " << enum_2_string (_monitoring) << endl;
-
passthru (start_frame, end_frame, nframes, false);
} else if ((b = diskstream->playback_buffer(0)) != 0) {