mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-18 20:56:28 +01:00
Ifdef out some debugging-related code.
This commit is contained in:
parent
5d3467d768
commit
3e6c80bbc0
1 changed files with 8 additions and 0 deletions
|
|
@ -2050,11 +2050,15 @@ TempoMap::solve_map_frame (Metrics& imaginary, TempoSection* section, const fram
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if (0)
|
||||||
recompute_tempos (imaginary);
|
recompute_tempos (imaginary);
|
||||||
|
|
||||||
if (check_solved (imaginary)) {
|
if (check_solved (imaginary)) {
|
||||||
return true;
|
return true;
|
||||||
|
} else {
|
||||||
|
dunp (imaginary, std::cout);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
MetricSectionFrameSorter fcmp;
|
MetricSectionFrameSorter fcmp;
|
||||||
imaginary.sort (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));
|
section->set_frame (section_prev->frame_at_pulse (pulse, _frame_rate));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if (0)
|
||||||
recompute_tempos (imaginary);
|
recompute_tempos (imaginary);
|
||||||
|
|
||||||
if (check_solved (imaginary)) {
|
if (check_solved (imaginary)) {
|
||||||
return true;
|
return true;
|
||||||
|
} else {
|
||||||
|
dunp (imaginary, std::cout);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
MetricSectionSorter cmp;
|
MetricSectionSorter cmp;
|
||||||
imaginary.sort (cmp);
|
imaginary.sort (cmp);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue