summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2017-08-04 17:40:55 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2017-08-04 17:40:55 -0400
commitbe03ec370e9ad522f57b1d12644f770be400d5d8 (patch)
tree81fd1f46fd5537f979234478e291acc463889bdb
parent6e2e54d384f7fbd248506abdd60c130bcd3ca1da (diff)
expose more internal state
-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 68c1fbe709..e16b9360a8 100644
--- a/tools/bb/bb.h
+++ b/tools/bb/bb.h
@@ -35,6 +35,10 @@ class BeatBox {
void set_quantize (int divisor);
+ float tempo() const { return _tempo; }
+ int meter_beats() const { return _meter_beats; }
+ int meter_beat_type() const { return _meter_beat_type; }
+
private:
bool _start_requested;
bool _running;