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:09:26 -0400 |
commit | b660bc8ae92d19aedf0165815432b77a0c6170c4 (patch) | |
tree | 57b59514f21350b14219156ab087d5cee70a258f /libs/ardour/file_source.cc | |
parent | 74bc0c84686c4a85941b98d17179d3209bf9a2a8 (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/file_source.cc')
-rw-r--r-- | libs/ardour/file_source.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/file_source.cc b/libs/ardour/file_source.cc index d579d11965..30ae2178fe 100644 --- a/libs/ardour/file_source.cc +++ b/libs/ardour/file_source.cc @@ -56,7 +56,7 @@ PBD::Signal3<int,std::string,std::string,std::vector<std::string> > FileSource:: FileSource::FileSource (Session& session, DataType type, const string& path, const string& origin, Source::Flag flag) : Source(session, type, path, flag) , _path (path) - , _file_is_new (!origin.empty()) // origin empty => new file VS. origin !empty => new file + , _file_is_new (!origin.empty()) // if origin is left unspecified (empty string) then file must exist , _channel (0) , _origin (origin) , _open (false) |