diff options
author | Carl Hetherington <carl@carlh.net> | 2010-03-30 23:40:28 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-03-30 23:40:28 +0000 |
commit | e3dd8cc3ee481924997a1650e3a130b2579be209 (patch) | |
tree | c14bd1999d9e7887f6ec05dff2a697aa0323223a /libs/ardour/strip_silence.cc | |
parent | 6721d997b159842e2c977ec0dd0c94002c0e1e47 (diff) |
Move region naming stuff from Session into RegionFactory, cleaning up some vestiges of when Session had a list of regions.
git-svn-id: svn://localhost/ardour2/branches/3.0@6812 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/strip_silence.cc')
-rw-r--r-- | libs/ardour/strip_silence.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/strip_silence.cc b/libs/ardour/strip_silence.cc index 21e1ad5450..3952311aa2 100644 --- a/libs/ardour/strip_silence.cc +++ b/libs/ardour/strip_silence.cc @@ -113,7 +113,7 @@ StripSilence::run (boost::shared_ptr<Region> r) 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 = " << |