when abort()-ing due to a failed assert in tempo map code, dump the map

This commit is contained in:
Paul Davis 2023-04-28 12:22:54 -06:00
parent 4ccaa81671
commit 0ddacb8ea2
2 changed files with 52 additions and 34 deletions

View file

@ -924,6 +924,8 @@ class /*LIBTEMPORAL_API*/ TempoMap : public PBD::StatefulDestructible
LIBTEMPORAL_API void midi_clock_beat_at_or_after (samplepos_t const pos, samplepos_t& clk_pos, uint32_t& clk_beat) const;
static void map_assert (bool expr, char const * exprstr, char const * file, int line);
private:
Tempos _tempos;
Meters _meters;