summaryrefslogtreecommitdiff
path: root/libs/ardour/strip_silence.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-05-02 19:08:30 +0000
committerCarl Hetherington <carl@carlh.net>2010-05-02 19:08:30 +0000
commitceb1025c2c8ab1246a51c3967ee5a79773a4e008 (patch)
tree385091c0b89ef1b3ed54c7b8ccc13c83a59a7bec /libs/ardour/strip_silence.cc
parent0cb4160ce771b87b2826452132bb1a6de447515f (diff)
Small cleanup: add constructor to InterThreadInfo.
git-svn-id: svn://localhost/ardour2/branches/3.0@7044 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/strip_silence.cc')
-rw-r--r--libs/ardour/strip_silence.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/libs/ardour/strip_silence.cc b/libs/ardour/strip_silence.cc
index 3952311aa2..21faeded68 100644
--- a/libs/ardour/strip_silence.cc
+++ b/libs/ardour/strip_silence.cc
@@ -56,15 +56,6 @@ StripSilence::run (boost::shared_ptr<Region> r)
return -1;
}
- /* we don't care about this but we need to fill out the fields
- anyway. XXX should really be a default constructor for ITT
- */
-
- itt.done = false;
- itt.cancel = false;
- itt.progress = 0.0;
- itt.thread = 0;
-
/* find periods of silence in the region */
std::list<std::pair<frameoffset_t, framecnt_t> > const silence =
region->find_silence (dB_to_coefficient (_threshold), _minimum_length, itt);