diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-06-10 10:07:04 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-06-10 10:07:04 -0400 |
commit | 107e0d6d02333cd9947ddba4120af95175e5643e (patch) | |
tree | 832ae77039f98979ab9059494523e1b06e318a67 /libs/ardour/ardour/audiofilesource.h | |
parent | 3f38a602cc4a6170dda7c19f7dd14f11717d5c9b (diff) |
fix crash recovery: add new constructors to SndFileSource, AudioFileSource, add a new SourceFactory method and finally tweak
AudioDiskstream::use_pending_capture_data() to create both the required whole-file and the in-playlist regions
Diffstat (limited to 'libs/ardour/ardour/audiofilesource.h')
-rw-r--r-- | libs/ardour/ardour/audiofilesource.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/ardour/audiofilesource.h b/libs/ardour/ardour/audiofilesource.h index e0a199fd72..4831eb2081 100644 --- a/libs/ardour/ardour/audiofilesource.h +++ b/libs/ardour/ardour/audiofilesource.h @@ -94,6 +94,12 @@ protected: /** Constructor to be called for existing in-session files */ AudioFileSource (Session&, const XMLNode&, bool must_exist = true); + /** Constructor to be called for crash recovery. Final argument is not + * used but exists to differentiate from the external-to-session + * constructor above. + */ + AudioFileSource (Session&, const std::string& path, Source::Flag flags, bool); + int init (const std::string& idstr, bool must_exist); virtual void set_header_timeline_position () = 0; |