properly retain LV2PluginInfo
[ardour.git] / libs / ardour / ardour / source_factory.h
index 4ef2cd60ee6506534518d5fb0e0c3a76b542a951..614fdce7b19deeda12d905cb8122af47a307c2e6 100644 (file)
@@ -57,6 +57,9 @@ class LIBARDOUR_API SourceFactory {
                 bool destructive, framecnt_t rate, bool announce = true, bool async = false);
 
 
+       static boost::shared_ptr<Source> createForRecovery
+               (DataType type, Session&, const std::string& path, int chn);
+
        static boost::shared_ptr<Source> createFromPlaylist
                (DataType type, Session& s, boost::shared_ptr<Playlist> p, const PBD::ID& orig, const std::string& name,
                 uint32_t chn, frameoffset_t start, framecnt_t len, bool copy, bool defer_peaks);