diff options
Diffstat (limited to 'tools/bb/bb.h')
-rw-r--r-- | tools/bb/bb.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/bb/bb.h b/tools/bb/bb.h index 4fcf477140..07175b6664 100644 --- a/tools/bb/bb.h +++ b/tools/bb/bb.h @@ -18,6 +18,10 @@ static const superclock_t superclock_ticks_per_second = 508032000; // 2^10 * 3^4 inline superclock_t superclock_to_samples (superclock_t s, int sr) { return (s * sr) / superclock_ticks_per_second; } inline superclock_t samples_to_superclock (int samples, int sr) { return (samples * superclock_ticks_per_second) / sr; } +namespace ARDOUR { +class Session; +} + class BeatBox { public: BeatBox (int sample_rate); @@ -78,6 +82,9 @@ class BeatBox { bool operator () (Event const * a, Event const * b) const; }; + typedef std::vector<Event*> IncompleteNotes; + IncompleteNotes _incomplete_notes; + typedef std::set<Event*,EventComparator> Events; Events _current_events; |