X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Fsource_factory.h;h=614fdce7b19deeda12d905cb8122af47a307c2e6;hb=c96ec968c7bb4b1d7c358f522a49b0685c022920;hp=c94f783b445f51fba4b9fa1505459e3e42bb1f9b;hpb=236360d8ffab9f095fcda9e09b159b2a47feb6af;p=ardour.git diff --git a/libs/ardour/ardour/source_factory.h b/libs/ardour/ardour/source_factory.h index c94f783b44..614fdce7b1 100644 --- a/libs/ardour/ardour/source_factory.h +++ b/libs/ardour/ardour/source_factory.h @@ -36,7 +36,7 @@ class Session; class AudioSource; class Playlist; -class SourceFactory { +class LIBARDOUR_API SourceFactory { public: static void init (); @@ -57,6 +57,9 @@ class 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);