fixes for destructive track offsets of various kinds; move from jack_nframes_t -...
[ardour.git] / libs / ardour / region_factory.cc
index 101b33e811cbe6324edf07814c010a3eeb45bb44..313bb31f2a5ea958e5b299ab3b93f3ea18b98a70 100644 (file)
@@ -35,8 +35,8 @@ using namespace PBD;
 sigc::signal<void,boost::shared_ptr<Region> > RegionFactory::CheckNewRegion;
 
 boost::shared_ptr<Region>
-RegionFactory::create (boost::shared_ptr<Region> region, jack_nframes_t start, 
-                            jack_nframes_t length, std::string name, 
+RegionFactory::create (boost::shared_ptr<Region> region, nframes_t start, 
+                            nframes_t length, std::string name, 
                             layer_t layer, Region::Flag flags, bool announce)
 {
        boost::shared_ptr<const AudioRegion> other;
@@ -75,8 +75,8 @@ RegionFactory::create (boost::shared_ptr<Region> region)
 }
 
 boost::shared_ptr<Region>
-RegionFactory::create (boost::shared_ptr<AudioRegion> region, jack_nframes_t start, 
-                            jack_nframes_t length, std::string name, 
+RegionFactory::create (boost::shared_ptr<AudioRegion> region, nframes_t start, 
+                            nframes_t length, std::string name, 
                             layer_t layer, Region::Flag flags, bool announce)
 {
        return create (boost::static_pointer_cast<Region> (region), start, length, name, layer, flags, announce);
@@ -91,7 +91,7 @@ RegionFactory::create (Session& session, XMLNode& node, bool yn)
 }
        
 boost::shared_ptr<Region> 
-RegionFactory::create (SourceList& srcs, jack_nframes_t start, jack_nframes_t length, const string& name, layer_t layer, Region::Flag flags, bool announce)
+RegionFactory::create (SourceList& srcs, nframes_t start, nframes_t length, const string& name, layer_t layer, Region::Flag flags, bool announce)
 {
        AudioRegion* ar = new AudioRegion (srcs, start, length, name, layer, flags);
        boost::shared_ptr<AudioRegion> arp (ar);
@@ -115,7 +115,7 @@ RegionFactory::create (SourceList& srcs, const XMLNode& node)
 }
 
 boost::shared_ptr<Region> 
-RegionFactory::create (boost::shared_ptr<Source> src, jack_nframes_t start, jack_nframes_t length, const string& name, layer_t layer, Region::Flag flags, bool announce)
+RegionFactory::create (boost::shared_ptr<Source> src, nframes_t start, nframes_t length, const string& name, layer_t layer, Region::Flag flags, bool announce)
 {
        boost::shared_ptr<AudioSource> as;