MCP: possible support for metering (really)
[ardour.git] / libs / surfaces / mackie / controls.cc
index 42bcc3a09bdaa3081bc6f1cdccb5eb8096008a07..d3d63efb85bd9efa7d9224a8d5098afb3b9755b2 100644 (file)
@@ -184,6 +184,15 @@ Strip::fader_touch()
        return *_fader_touch;
 }
 
+Meter& 
+Strip::meter()
+{
+       if  (_meter == 0) {
+               throw MackieControlException ("meter is null");
+       }
+       return *_meter;
+}
+
 /** @return true if the control is in use, or false otherwise.
     Buttons are `in use' when they are held down.
     Faders with touch support are `in use' when they are being touched.