/** Construct Strip silence dialog box */
StripSilenceDialog::StripSilenceDialog (Session* s, list<boost::shared_ptr<ARDOUR::AudioRegion> > const & regions)
: ArdourDialog (_("Strip Silence"))
+ , ProgressReporter ()
, _minimum_length (X_("silence duration"), true, "SilenceDurationClock", true, false, true, false)
, _fade_length (X_("silence duration"), true, "SilenceDurationClock", true, false, true, false)
, _wave_width (640)
get_vbox()->pack_start (*_canvas, true, true);
+ get_vbox()->pack_start (_progress_bar, true, true);
+
show_all ();
_threshold.get_adjustment()->signal_value_changed().connect (sigc::mem_fun (*this, &StripSilenceDialog::threshold_changed));
delete *i;
}
}
+
+void
+StripSilenceDialog::update_progress_gui (float p)
+{
+ _progress_bar.set_fraction (p);
+}