X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fstrip_silence_dialog.h;h=18313941c15496835ff148e240826e9ed0d85f15;hb=d7deaa21bb78222e25b820c9583942a47dbc8fac;hp=62e58e7db5174699c70cf125429aedf89d061856;hpb=f17661208686f7237efc902c61028462af75a240;p=ardour.git diff --git a/gtk2_ardour/strip_silence_dialog.h b/gtk2_ardour/strip_silence_dialog.h index 62e58e7db5..18313941c1 100644 --- a/gtk2_ardour/strip_silence_dialog.h +++ b/gtk2_ardour/strip_silence_dialog.h @@ -29,6 +29,7 @@ namespace ARDOUR { class Session; } +class AudioClock; class RegionView; /// Dialog box to set options for the `strip silence' filter @@ -42,6 +43,10 @@ public: return _threshold.get_value (); } + void drop_rects (); + + void silences (ARDOUR::AudioIntervalMap&); + ARDOUR::framecnt_t minimum_length () const; ARDOUR::framecnt_t fade_length () const; @@ -59,11 +64,8 @@ private: void restart_thread (); Gtk::SpinButton _threshold; - AudioClock _minimum_length; - AudioClock _fade_length; - Gtk::Label _segment_count_label; - Gtk::Label _shortest_silence_label; - Gtk::Label _shortest_audible_label; + AudioClock* _minimum_length; + AudioClock* _fade_length; Gtk::ProgressBar _progress_bar; struct ViewInterval { @@ -75,11 +77,6 @@ private: std::list views; - ARDOUR::framecnt_t max_audible; - ARDOUR::framecnt_t min_audible; - ARDOUR::framecnt_t max_silence; - ARDOUR::framecnt_t min_silence; - PBD::ScopedConnection* _peaks_ready_connection; bool _destroying;