when calculating average slave/master delta, use absolute value.
[ardour.git] / gtk2_ardour / strip_silence_dialog.h
index 44f5409754a4d779886165ffd266d3583d8ec485..a4d444e0edf255b53e4a62616886c148e8c306b8 100644 (file)
@@ -49,6 +49,10 @@ public:
        ARDOUR::framecnt_t minimum_length () const;
        ARDOUR::framecnt_t fade_length () const;
 
+       void on_response (int response_id) {
+               Gtk::Dialog::on_response (response_id);
+       }
+
 private:
        void create_waves ();
        void canvas_allocation (Gtk::Allocation &);
@@ -89,4 +93,9 @@ private:
        PBD::Signal0<void> Completed; ///< emitted when a silence detection has completed
        PBD::ScopedConnection _completed_connection;
        ARDOUR::InterThreadInfo _interthread_info;
+
+       sigc::connection progress_idle_connection;
+       bool idle_update_progress(); ///< GUI-thread progress updates of background silence computation
+       int analysis_progress_cur;
+       int analysis_progress_max;
 };