fixes for destructive track offsets of various kinds; move from jack_nframes_t -...
[ardour.git] / libs / ardour / ardour / region_factory.h
index 3bf1b6005e64b2abc3f2eaf74b17885921bcf41d..f1f5d1e69fc180513db8ba55ca5747ebaf4b2331 100644 (file)
@@ -23,14 +23,14 @@ class RegionFactory {
 
        static sigc::signal<void,boost::shared_ptr<Region> > CheckNewRegion;
 
-       static boost::shared_ptr<Region> create (boost::shared_ptr<Region>, jack_nframes_t start, 
-                                                jack_nframes_t length, std::string name, 
+       static boost::shared_ptr<Region> create (boost::shared_ptr<Region>, nframes_t start, 
+                                                nframes_t length, std::string name, 
                                                 layer_t = 0, Region::Flag flags = Region::DefaultFlags, bool announce = true);
-       static boost::shared_ptr<Region> create (boost::shared_ptr<AudioRegion>, jack_nframes_t start, 
-                                                jack_nframes_t length, std::string name, 
+       static boost::shared_ptr<Region> create (boost::shared_ptr<AudioRegion>, nframes_t start, 
+                                                nframes_t length, std::string name, 
                                                 layer_t = 0, Region::Flag flags = Region::DefaultFlags, bool announce = true);
-       static boost::shared_ptr<Region> create (boost::shared_ptr<Source>, jack_nframes_t start, jack_nframes_t length, const string& name, layer_t = 0, Region::Flag flags = Region::DefaultFlags, bool announce = true);
-       static boost::shared_ptr<Region> create (SourceList &, jack_nframes_t start, jack_nframes_t length, const string& name, layer_t = 0, Region::Flag flags = Region::DefaultFlags, bool announce = true);
+       static boost::shared_ptr<Region> create (boost::shared_ptr<Source>, nframes_t start, nframes_t length, const string& name, layer_t = 0, Region::Flag flags = Region::DefaultFlags, bool announce = true);
+       static boost::shared_ptr<Region> create (SourceList &, nframes_t start, nframes_t length, const string& name, layer_t = 0, Region::Flag flags = Region::DefaultFlags, bool announce = true);
        static boost::shared_ptr<Region> create (boost::shared_ptr<Region>);
        static boost::shared_ptr<Region> create (Session&, XMLNode&, bool);
        static boost::shared_ptr<Region> create (SourceList &, const XMLNode&);