diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-05-21 19:02:44 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-05-21 19:02:44 +0000 |
commit | 8c73a62ee0800673cd28e5e0946d65212e163d3b (patch) | |
tree | b6a1993f0ccddabd840eae3618ac6891ac0ca5a1 /libs/surfaces/mackie/meter.h | |
parent | a6c3508bd381e939d420b6069e374776b5e4468d (diff) |
split apart mackie meter messages when we have to send two, one to turn on/off the overload indicator and one to set the level. this avoids MIDI bridge issues with non-canonical MIDI messages
git-svn-id: svn://localhost/ardour2/branches/3.0@12367 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/surfaces/mackie/meter.h')
-rw-r--r-- | libs/surfaces/mackie/meter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/surfaces/mackie/meter.h b/libs/surfaces/mackie/meter.h index 1898bf8199..b94c7ac98a 100644 --- a/libs/surfaces/mackie/meter.h +++ b/libs/surfaces/mackie/meter.h @@ -35,9 +35,9 @@ public: , last_segment_value_sent (-1) , overload_on (false) {} - MidiByteArray update_message (float dB); + void send_update (Surface&, float dB); - MidiByteArray zero() { return update_message (-99999999.0); } + MidiByteArray zero(); static Control* factory (Surface&, int id, const char*, Group&); |