*/
bool hit_dirty = false;
+ superclock_t first_dirty = 0;
for (tmp = _points.begin(); tmp != _points.end(); ) {
continue;
}
hit_dirty = true;
+ first_dirty = tmp->sclock();
}
TempoMapPoints::iterator next = tmp;
prev = tmp;
tmp = next;
}
+
+ Changed (first_dirty, _points.back().sclock()); /* EMIT SIGNAL */
+ cerr << "Rebuilt " << first_dirty << " .. " << _points.back().sclock() << endl;
}
bool
#include <glibmm/threads.h>
+#include "pbd/signals.h"
+
#include "evoral/Beats.hpp"
#include "ardour/ardour.h"
void dump (std::ostream&);
void rebuild (superclock_t limit);
+ PBD::Signal2<void,superclock_t,superclock_t> Changed;
+
private:
TempoMapPoints _points;
framecnt_t _sample_rate;