X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Fsource_factory.h;h=5ddf1f8735bf556b925269c0e00b3217500de9a8;hb=16f91163e5989ebdd224fbbe976e10e24b778d06;hp=b8bc5e72b53e4e921d3e9a0a2d2d0b8540538ff6;hpb=41b23ca647c100a3e2cd1641aff52f77216db803;p=ardour.git diff --git a/libs/ardour/ardour/source_factory.h b/libs/ardour/ardour/source_factory.h index b8bc5e72b5..5ddf1f8735 100644 --- a/libs/ardour/ardour/source_factory.h +++ b/libs/ardour/ardour/source_factory.h @@ -42,23 +42,22 @@ class SourceFactory { static boost::shared_ptr create (Session&, const XMLNode& node, bool async = false); static boost::shared_ptr createSilent (Session&, const XMLNode& node, - framecnt_t nframes, float sample_rate); + framecnt_t nframes, float sample_rate); - static boost::shared_ptr createReadable + static boost::shared_ptr createReadable (DataType type, Session&, - const std::string& path, + const std::string& path, int chn, Source::Flag flags, bool announce = true, bool async = false); - static boost::shared_ptr createWritable + static boost::shared_ptr createWritable (DataType type, Session&, const std::string& path, const std::string& origin, bool destructive, framecnt_t rate, bool announce = true, bool async = false); - static boost::shared_ptr createFromPlaylist - (DataType type, Session& s, boost::shared_ptr p, const std::string& name, - uint32_t chn, frameoffset_t start, framecnt_t len, bool copy, Source::Flag flags, - bool announce, bool defer_peaks); + static boost::shared_ptr createFromPlaylist + (DataType type, Session& s, boost::shared_ptr p, const PBD::ID& orig, const std::string& name, + uint32_t chn, frameoffset_t start, framecnt_t len, bool copy, bool defer_peaks); static Glib::Cond* PeaksToBuild; static Glib::StaticMutex peak_building_lock;