summaryrefslogtreecommitdiff
path: root/gtk2_ardour/strip_silence_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-02-28 18:57:43 +0000
committerCarl Hetherington <carl@carlh.net>2011-02-28 18:57:43 +0000
commitf9b1e437a5ef408fe6ab279625bf9cc081bd897a (patch)
tree3f06c027e8456688d1c3dc1fba1b49f091859be9 /gtk2_ardour/strip_silence_dialog.cc
parent2d3c640fee5530fdf68c631feccbc22828583e98 (diff)
Restore fade option to strip silence.
git-svn-id: svn://localhost/ardour2/branches/3.0@8992 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/strip_silence_dialog.cc')
-rw-r--r--gtk2_ardour/strip_silence_dialog.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/gtk2_ardour/strip_silence_dialog.cc b/gtk2_ardour/strip_silence_dialog.cc
index 3e68f0dd06..6a591c08b9 100644
--- a/gtk2_ardour/strip_silence_dialog.cc
+++ b/gtk2_ardour/strip_silence_dialog.cc
@@ -84,12 +84,9 @@ StripSilenceDialog::StripSilenceDialog (Session* s, list<RegionView*> const & v)
_minimum_length.set_mode (AudioClock::Frames);
_minimum_length.set (1000, true);
- /* Add this back when we finally do something with it */
- /*
table->attach (*Gtk::manage (new Gtk::Label (_("Fade length"), 1, 0.5)), 0, 1, n, n + 1, Gtk::FILL);
table->attach (_fade_length, 1, 2, n, n + 1, Gtk::FILL);
++n;
- */
_fade_length.set_session (s);
_fade_length.set_mode (AudioClock::Frames);
@@ -282,7 +279,7 @@ StripSilenceDialog::minimum_length () const
framecnt_t
StripSilenceDialog::fade_length () const
{
- return _minimum_length.current_duration (views.front().view->region()->position());
+ return _fade_length.current_duration (views.front().view->region()->position());
}
void