summaryrefslogtreecommitdiff
path: root/tools/bb/bb.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2017-08-04 18:09:31 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2017-08-04 18:09:31 -0400
commitab6ab082dd947a1a79fcc704968a6d1dc7701b66 (patch)
tree4997f0a33fda979900163c611ddce26e2c95b807 /tools/bb/bb.h
parentbe03ec370e9ad522f57b1d12644f770be400d5d8 (diff)
add tempo adjustment
Diffstat (limited to 'tools/bb/bb.h')
-rw-r--r--tools/bb/bb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/bb/bb.h b/tools/bb/bb.h
index e16b9360a8..79a24d6929 100644
--- a/tools/bb/bb.h
+++ b/tools/bb/bb.h
@@ -44,6 +44,7 @@ class BeatBox {
bool _running;
int _measures;
float _tempo;
+ float _tempo_request;
int _meter_beats;
int _meter_beat_type;
jack_port_t* _input;
@@ -60,6 +61,7 @@ class BeatBox {
struct Event {
superclock_t time;
+ superclock_t whole_note_superclocks;
size_t size;
unsigned char buf[24];
@@ -77,6 +79,8 @@ class BeatBox {
typedef std::vector<Event*> EventPool;
EventPool event_pool;
+
+ void compute_tempo_clocks ();
};