20 #include <gtkmm/spinbutton.h>
21 #include <glibmm/threads.h>
PBD::Signal0< void > Completed
emitted when a silence detection has completed
ARDOUR::InterThreadInfo _interthread_info
void canvas_allocation(Gtk::Allocation &)
std::list< std::pair< frameoffset_t, frameoffset_t > > AudioIntervalResult
Dialog box to set options for the `strip silence' filter.
void update_threshold_line()
StripSilenceDialog(ARDOUR::Session *, std::list< RegionView * > const &)
ARDOUR::framecnt_t fade_length() const
ViewInterval(RegionView *rv)
AudioClock * _fade_length
std::map< boost::shared_ptr< ARDOUR::Region >, AudioIntervalResult > AudioIntervalMap
std::list< ViewInterval > views
PBD::ScopedConnection * _peaks_ready_connection
void * detection_thread_work()
void update_progress_gui(float)
Glib::Threads::Cond _run_cond
condition to wake the thread
ARDOUR::AudioIntervalResult intervals
void update_silence_rects()
PBD::ScopedConnection _completed_connection
AudioClock * _minimum_length
pthread_t _thread
thread to compute silence in the background
void resize_silence_rects()
bool _thread_should_finish
true if the thread should terminate
Gtk::ProgressBar _progress_bar
Glib::Threads::Mutex _lock
lock held while the thread is doing work
ARDOUR::framecnt_t minimum_length() const
void silences(ARDOUR::AudioIntervalMap &)
void update_stats(ARDOUR::AudioIntervalResult const &)
Gtk::SpinButton _threshold
static void * _detection_thread_work(void *)