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);
copy = boost::dynamic_pointer_cast<AudioRegion> (RegionFactory::create
(region, start, plist));
- copy->set_name (session.new_region_name (region->name ()));
+ copy->set_name (RegionFactory::new_region_name (region->name ()));
std::cerr << "New silent delineated region called " << copy->name()
<< " @ " << copy->start() << " length = " << copy->length() << " pos = " <<