projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LCXL: fix off by one cause by fader8master
[ardour.git]
/
libs
/
surfaces
/
mackie
/
meter.h
diff --git
a/libs/surfaces/mackie/meter.h
b/libs/surfaces/mackie/meter.h
index 9ca5656664242052c5b4029a239ea68f93732af3..17972fb480f98d8e4a8586881479f7b67f0a3c27 100644
(file)
--- a/
libs/surfaces/mackie/meter.h
+++ b/
libs/surfaces/mackie/meter.h
@@
-34,17
+34,21
@@
class Meter : public Control
public:
Meter (int id, std::string name, Group & group)
: Control (id, name, group)
public:
Meter (int id, std::string name, Group & group)
: Control (id, name, group)
+ , _enabled (false)
, overload_on (false) {}
, overload_on (false) {}
-
+
+
void send_update (Surface&, float dB);
void send_update (Surface&, float dB);
+ bool enabled () const { return _enabled; }
MidiByteArray zero();
static Control* factory (Surface&, int id, const char*, Group&);
MidiByteArray zero();
static Control* factory (Surface&, int id, const char*, Group&);
-
+
void notify_metering_state_changed(Surface& surface, bool transport_is_rolling, bool metering_active);
private:
void notify_metering_state_changed(Surface& surface, bool transport_is_rolling, bool metering_active);
private:
+ bool _enabled;
bool overload_on;
};
bool overload_on;
};