fix port-matrix (update with session)
[ardour.git] / gtk2_ardour / level_meter.h
index 0da8ed2a8bc723cf17b4b722e7e409520514f995..ead63aa50b8f090517a8744fc7bed53a9eab1aa7 100644 (file)
@@ -72,6 +72,7 @@ class LevelMeter : public Gtk::HBox, public ARDOUR::SessionHandlePtr
 
        /** Emitted in the GUI thread when a button is pressed over the meter */
        PBD::Signal1<bool, GdkEventButton *> ButtonPress;
+       PBD::Signal1<void, ARDOUR::MeterType> MeterTypeChanged;
 
   private:
        ARDOUR::PeakMeter* _meter;
@@ -102,6 +103,7 @@ class LevelMeter : public Gtk::HBox, public ARDOUR::SessionHandlePtr
        ARDOUR::MeterType      meter_type;
 
        PBD::ScopedConnection _configuration_connection;
+       PBD::ScopedConnection _meter_type_connection;
        PBD::ScopedConnection _parameter_connection;
 
        void hide_all_meters ();
@@ -110,6 +112,7 @@ class LevelMeter : public Gtk::HBox, public ARDOUR::SessionHandlePtr
 
        void parameter_changed (std::string);
        void configuration_changed (ARDOUR::ChanCount in, ARDOUR::ChanCount out);
+       void meter_type_changed (ARDOUR::MeterType);
 
        void on_theme_changed ();
        bool style_changed;