tempo map debugging with dlp
authorPaul Davis <paul@linuxaudiosystems.com>
Sun, 8 Jan 2012 16:20:54 +0000 (16:20 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Sun, 8 Jan 2012 16:20:54 +0000 (16:20 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@11193 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/tempo.cc

index 137d25b217ff72a703f8a7a7482769d93fefe214..c39b8d07579dca3207b854a269ea8d5540961f52 100644 (file)
@@ -2196,6 +2196,8 @@ TempoMap::bbt_before_or_at (framepos_t pos)
        i = lower_bound (_map.begin(), _map.end(), pos);
        assert (i != _map.end());
        if ((*i).frame > pos) {
+               cerr << "lower bound was found at " << (*i).frame << " for " << pos;
+               dump (cerr);
                assert (i != _map.begin());
                --i;
        }