remove cruft
[ardour.git] / libs / surfaces / mackie / meter.cc
index 27171aff16da500f873e0fea9457bf8a2a269281..c9eea4b28f745656ad2d9a26f8313018e6b70e44 100644 (file)
@@ -26,6 +26,7 @@
 #include "surface.h"
 #include "surface_port.h"
 #include "control_group.h"
+#include "mackie_control_protocol.h"
 
 using namespace PBD;
 using namespace ArdourSurface;
@@ -56,7 +57,8 @@ Meter::notify_metering_state_changed(Surface& surface, bool transport_is_rolling
        msg << id();
 
        // Enable (0x07) / Disable (0x00) level meter on LCD, peak hold display on horizontal meter and signal LED
-       msg << ((transport_is_rolling && metering_active) ? 0x07 : 0x00);
+       _enabled = ((surface.mcp().device_info().has_separate_meters() || transport_is_rolling) && metering_active);
+       msg << (_enabled ? 0x07 : 0x00);
 
        // sysex trailer
        msg << MIDI::eox;