void silences (ARDOUR::AudioIntervalMap&);
- ARDOUR::framecnt_t minimum_length () const;
- ARDOUR::framecnt_t fade_length () const;
+ ARDOUR::samplecnt_t minimum_length () const;
+ ARDOUR::samplecnt_t fade_length () const;
+
+ void on_response (int response_id) {
+ Gtk::Dialog::on_response (response_id);
+ }
private:
void create_waves ();
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;
};