summaryrefslogtreecommitdiff
path: root/src/wx/audio_panel.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-01-25 23:59:24 +0100
committerCarl Hetherington <cth@carlh.net>2020-01-25 23:59:24 +0100
commitf0fd3981314db5b8596260aeb53564893a526b99 (patch)
treee641b13ab6263dfaeeb1f71b0c904adebfab566b /src/wx/audio_panel.h
parent5d7ba3c7717288b13cb8b286474382580f3bdba9 (diff)
Warn if doing a gain calculation might cause clipping.
Diffstat (limited to 'src/wx/audio_panel.h')
-rw-r--r--src/wx/audio_panel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wx/audio_panel.h b/src/wx/audio_panel.h
index 09aae0552..f7161f10a 100644
--- a/src/wx/audio_panel.h
+++ b/src/wx/audio_panel.h
@@ -50,6 +50,7 @@ private:
void setup_sensitivity ();
void reference_clicked ();
void add_to_grid ();
+ boost::optional<float> peak () const;
wxCheckBox* _reference;
wxStaticText* _reference_note;