From 45a523803b72cf132b44b6feec543e3587becf3a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 25 Jul 2013 11:38:15 +0100 Subject: Prevent infinite loop of audio analysis if it is cancelled. --- src/wx/audio_plot.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/wx/audio_plot.h') diff --git a/src/wx/audio_plot.h b/src/wx/audio_plot.h index 82f589f6f..5605f94a5 100644 --- a/src/wx/audio_plot.h +++ b/src/wx/audio_plot.h @@ -33,6 +33,7 @@ public: void set_type_visible (int t, bool v); void set_gain (float); void set_smoothing (int); + void set_message (wxString); static const int max_smoothing; @@ -57,5 +58,7 @@ private: float _x_scale; float _y_scale; + wxString _message; + static const int _minimum; }; -- cgit v1.2.3