#include "ardour/graph.h"
#include "ardour/audio_port.h"
#include "ardour/tempo.h"
+#include "ardour/cycle_timer.h"
#include "midi++/manager.h"
#include "midi++/mmc.h"
int
Session::no_roll (pframes_t nframes)
{
+ PT_TIMING_CHECK (4);
+
framepos_t end_frame = _transport_frame + nframes; // FIXME: varispeed + no_roll ??
int ret = 0;
bool declick = get_transport_declick_required();
_click_io->silence (nframes);
}
- if (_process_graph->threads_in_use() > 0) {
+ if (1 || _process_graph->threads_in_use() > 0) {
DEBUG_TRACE(DEBUG::ProcessThreads,"calling graph/no-roll\n");
_process_graph->routes_no_roll( nframes, _transport_frame, end_frame, non_realtime_work_pending(), declick);
} else {
+ PT_TIMING_CHECK (10);
for (RouteList::iterator i = r->begin(); i != r->end(); ++i) {
if ((*i)->is_hidden()) {
break;
}
}
+ PT_TIMING_CHECK (11);
}
+ PT_TIMING_CHECK (5);
return ret;
}
void
Session::process_with_events (pframes_t nframes)
{
+ PT_TIMING_CHECK (3);
+
SessionEvent* ev;
pframes_t this_nframes;
framepos_t end_frame;