X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Fsource_factory.h;h=614fdce7b19deeda12d905cb8122af47a307c2e6;hb=c96ec968c7bb4b1d7c358f522a49b0685c022920;hp=4ef2cd60ee6506534518d5fb0e0c3a76b542a951;hpb=c0e6f8e4c324c3f44613949b59acd9e864ab263d;p=ardour.git diff --git a/libs/ardour/ardour/source_factory.h b/libs/ardour/ardour/source_factory.h index 4ef2cd60ee..614fdce7b1 100644 --- a/libs/ardour/ardour/source_factory.h +++ b/libs/ardour/ardour/source_factory.h @@ -57,6 +57,9 @@ class LIBARDOUR_API SourceFactory { bool destructive, framecnt_t rate, bool announce = true, bool async = false); + static boost::shared_ptr createForRecovery + (DataType type, Session&, const std::string& path, int chn); + 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);