]> git.sesse.net Git - nageru/blobdiff - midi_mapper.h
Rename ui_foo.ui to foo.ui; seemingly, it is more standard.
[nageru] / midi_mapper.h
index 04e5192ecb0d69a432cc159b83553f0827d37e75..42bf19a64aeb68388fe41722bf1727d4dcde1431 100644 (file)
@@ -27,11 +27,14 @@ typedef struct _snd_seq snd_seq_t;
 // Interface for receiving interpreted controller messages.
 class ControllerReceiver {
 public:
+       virtual ~ControllerReceiver() {}
+
        // All values are [0.0, 1.0].
        virtual void set_locut(float value) = 0;
        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;
@@ -55,6 +58,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;