X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fwx%2Faudio_plot.h;h=dfc1b18aef1b9dfb3d2b99f3ef04b9c8fd5e56a3;hb=5702637ee38f0349fd0b7f17f10bda581e795a9d;hp=03bd793233bfb80409347331de46dbe6aca2d471;hpb=32ae1f11a9d3e1530c3939190690b5a524997ccb;p=dcpomatic.git diff --git a/src/wx/audio_plot.h b/src/wx/audio_plot.h index 03bd79323..dfc1b18ae 100644 --- a/src/wx/audio_plot.h +++ b/src/wx/audio_plot.h @@ -30,10 +30,13 @@ public: void set_analysis (boost::shared_ptr); void set_channel (int c); + void set_gain (float); private: void paint (wxPaintEvent &); boost::shared_ptr _analysis; int _channel; + /** gain to apply in dB */ + float _gain; };