diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-02-25 00:28:03 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-02-25 00:28:03 +0000 |
| commit | 5702637ee38f0349fd0b7f17f10bda581e795a9d (patch) | |
| tree | 48ce4ccfd3f61590adb86a8ff542d999018c6c7f /src/wx/audio_plot.h | |
| parent | 32ae1f11a9d3e1530c3939190690b5a524997ccb (diff) | |
Respond to gain in the audio dialog.
Diffstat (limited to 'src/wx/audio_plot.h')
| -rw-r--r-- | src/wx/audio_plot.h | 3 |
1 files changed, 3 insertions, 0 deletions
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<AudioAnalysis>); void set_channel (int c); + void set_gain (float); private: void paint (wxPaintEvent &); boost::shared_ptr<AudioAnalysis> _analysis; int _channel; + /** gain to apply in dB */ + float _gain; }; |
