+ AudioClock _minimum_length;
+ AudioClock _fade_length;
+ Gtk::ProgressBar _progress_bar;
+
+ struct ViewInterval {
+ RegionView* view;
+ ARDOUR::AudioIntervalResult intervals;
+
+ ViewInterval (RegionView* rv) : view (rv) {}
+ };
+
+ std::list<ViewInterval> views;
+
+ PBD::ScopedConnection* _peaks_ready_connection;
+
+ bool _destroying;
+
+ pthread_t _thread; ///< thread to compute silence in the background
+ static void * _detection_thread_work (void *);
+ void * detection_thread_work ();
+ Glib::Mutex _lock; ///< lock held while the thread is doing work
+ Glib::Cond _run_cond; ///< condition to wake the thread
+ bool _thread_should_finish; ///< true if the thread should terminate
+ PBD::Signal0<void> Completed; ///< emitted when a silence detection has completed
+ PBD::ScopedConnection _completed_connection;
+ ARDOUR::InterThreadInfo _interthread_info;