]> git.sesse.net Git - nageru/blobdiff - midi_mapper.h
Write 1.4.0 changelog.
[nageru] / midi_mapper.h
index be785ecdc709095340dbbe3cd98ccfd9a67174a8..04e5192ecb0d69a432cc159b83553f0827d37e75 100644 (file)
@@ -39,6 +39,7 @@ public:
        virtual void set_compressor_threshold(unsigned bus_idx, float value) = 0;
        virtual void set_fader(unsigned bus_idx, float value) = 0;
 
+       virtual void toggle_mute(unsigned bus_idx) = 0;
        virtual void toggle_locut(unsigned bus_idx) = 0;
        virtual void toggle_auto_gain_staging(unsigned bus_idx) = 0;
        virtual void toggle_compressor(unsigned bus_idx) = 0;
@@ -61,6 +62,7 @@ public:
        virtual void highlight_compressor_threshold(unsigned bus_idx, bool highlight) = 0;
        virtual void highlight_fader(unsigned bus_idx, bool highlight) = 0;
 
+       virtual void highlight_mute(unsigned bus_idx, bool highlight) = 0;
        virtual void highlight_toggle_locut(unsigned bus_idx, bool highlight) = 0;
        virtual void highlight_toggle_auto_gain_staging(unsigned bus_idx, bool highlight) = 0;
        virtual void highlight_toggle_compressor(unsigned bus_idx, bool highlight) = 0;
@@ -117,6 +119,7 @@ private:
        std::unique_ptr<MIDIMappingProto> mapping_proto;  // Under <mu>.
        int num_controller_banks;  // Under <mu>.
        std::atomic<int> current_controller_bank{0};
+       std::atomic<int> num_subscribed_ports{0};
 
        std::thread midi_thread;
        std::map<unsigned, bool> current_light_status;  // Keyed by note number. Under <mu>.