summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2016-05-28 04:37:52 +1000
committernick_m <mainsbridge@gmail.com>2016-05-28 04:37:52 +1000
commit3e6c80bbc0085e2a184656e54941e367009fa7e3 (patch)
treeea0f89d600d4c03e4b69515249deb24c4ba621c8 /libs
parent5d3467d768dfa8ec54ce4341bcbe2ab67e665daf (diff)
Ifdef out some debugging-related code.
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/tempo.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc
index b258734c89..a4744dc445 100644
--- a/libs/ardour/tempo.cc
+++ b/libs/ardour/tempo.cc
@@ -2050,11 +2050,15 @@ TempoMap::solve_map_frame (Metrics& imaginary, TempoSection* section, const fram
}
}
+#if (0)
recompute_tempos (imaginary);
if (check_solved (imaginary)) {
return true;
+ } else {
+ dunp (imaginary, std::cout);
}
+#endif
MetricSectionFrameSorter fcmp;
imaginary.sort (fcmp);
@@ -2111,11 +2115,15 @@ TempoMap::solve_map_pulse (Metrics& imaginary, TempoSection* section, const doub
section->set_frame (section_prev->frame_at_pulse (pulse, _frame_rate));
}
+#if (0)
recompute_tempos (imaginary);
if (check_solved (imaginary)) {
return true;
+ } else {
+ dunp (imaginary, std::cout);
}
+#endif
MetricSectionSorter cmp;
imaginary.sort (cmp);