]> git.sesse.net Git - nageru/blobdiff - midi_mapper.h
Release Nageru 1.7.4.
[nageru] / midi_mapper.h
index be785ecdc709095340dbbe3cd98ccfd9a67174a8..ac3578b1a98c32e9f4e6969c73e14af00ddab854 100644 (file)
@@ -32,6 +32,7 @@ public:
        virtual void set_limiter_threshold(float value) = 0;
        virtual void set_makeup_gain(float value) = 0;
 
+       virtual void set_stereo_width(unsigned bus_idx, float value) = 0;
        virtual void set_treble(unsigned bus_idx, float value) = 0;
        virtual void set_mid(unsigned bus_idx, float value) = 0;
        virtual void set_bass(unsigned bus_idx, float value) = 0;
@@ -39,6 +40,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;
@@ -54,6 +56,7 @@ public:
        virtual void highlight_limiter_threshold(bool highlight) = 0;
        virtual void highlight_makeup_gain(bool highlight) = 0;
 
+       virtual void highlight_stereo_width(unsigned bus_idx, bool highlight) = 0;
        virtual void highlight_treble(unsigned bus_idx, bool highlight) = 0;
        virtual void highlight_mid(unsigned bus_idx, bool highlight) = 0;
        virtual void highlight_bass(unsigned bus_idx, bool highlight) = 0;
@@ -61,6 +64,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 +121,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>.