Generic MIDI control now saves+restores its state; PBD::ID now requires a buffer...
[ardour.git] / libs / ardour / ardour / io.h
index 163ae462f3b5c7c281ccd81e6e085c855a976903..c32ef31de86785b17b3b020524d9e7f1bf04208b 100644 (file)
@@ -295,7 +295,7 @@ public:
                                   gain_t initial, gain_t target, bool invert_polarity);
 
        struct GainControllable : public PBD::Controllable {
-           GainControllable (IO& i) : io (i) {}
+           GainControllable (std::string name, IO& i) : Controllable (name), io (i) {}
         
            void set_value (float val);
            float get_value (void) const;