expose more internal state
authorPaul Davis <paul@linuxaudiosystems.com>
Fri, 4 Aug 2017 21:40:55 +0000 (17:40 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Fri, 4 Aug 2017 21:40:55 +0000 (17:40 -0400)
tools/bb/bb.h

index 68c1fbe7096244817d366301737de250a2cb05ad..e16b9360a82215db4570ab21651d08f89fc4284b 100644 (file)
@@ -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;