From 3e6c80bbc0085e2a184656e54941e367009fa7e3 Mon Sep 17 00:00:00 2001 From: nick_m Date: Sat, 28 May 2016 04:37:52 +1000 Subject: [PATCH] Ifdef out some debugging-related code. --- libs/ardour/tempo.cc | 8 ++++++++ 1 file changed, 8 insertions(+) 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);