summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/surfaces/mackie/strip.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libs/surfaces/mackie/strip.h b/libs/surfaces/mackie/strip.h
index b4515def65..b1b00bd8b6 100644
--- a/libs/surfaces/mackie/strip.h
+++ b/libs/surfaces/mackie/strip.h
@@ -7,6 +7,7 @@
#include "evoral/Parameter.hpp"
#include "pbd/property_basics.h"
+#include "pbd/ringbuffer.h"
#include "pbd/signals.h"
#include "ardour/types.h"
@@ -67,6 +68,7 @@ public:
void handle_pot (Pot&, float delta);
void periodic (uint64_t now_usecs);
+ void redisplay ();
MidiByteArray display (uint32_t line_number, const std::string&);
MidiByteArray blank_display (uint32_t line_number);
@@ -124,7 +126,16 @@ private:
void queue_display_reset (uint32_t msecs);
void clear_display_reset ();
void reset_display ();
+
+ struct RedisplayRequest {
+ ARDOUR::AutomationType type;
+ float val;
+ };
+
+ RingBuffer<RedisplayRequest> redisplay_requests;
+
void do_parameter_display (ARDOUR::AutomationType, float val);
+ void queue_parameter_display (ARDOUR::AutomationType, float val);
typedef std::map<std::string,boost::shared_ptr<ARDOUR::Bundle> > BundleMap;
BundleMap input_bundles;