Pretty dumb smoothing.
[dcpomatic.git] / src / wx / audio_plot.h
index 4ac7f848c064bdf24e1fc2bcb41a1a8a7b229aa8..fe8862d5431a42aebf77122e9c4983aa4ba40797 100644 (file)
@@ -32,6 +32,7 @@ public:
        void set_channel_visible (int c, bool v);
        void set_type_visible (int t, bool v);
        void set_gain (float);
+       void set_smoothing (int);
 
 private:
        void paint (wxPaintEvent &);
@@ -41,6 +42,7 @@ private:
        bool _type_visible[AudioPoint::COUNT];
        /** gain to apply in dB */
        float _gain;
+       int _smoothing;
 
        std::vector<wxColour> _colours;