diff options
author | Robin Gareus <robin@gareus.org> | 2016-10-11 22:57:38 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-10-11 22:57:38 +0200 |
commit | 0b51d760ad4ca65c1bc9fa57a9d7f6a9ee6e5aab (patch) | |
tree | 42ca403bc7ce96e6841113bcb3f194c4ace48a11 /libs/ardour/audiofilesource.cc | |
parent | 6c933c7789072a01424354108bc0d38990be22e1 (diff) |
cleaner version of feed9648 -- fixes #7067
Diffstat (limited to 'libs/ardour/audiofilesource.cc')
-rw-r--r-- | libs/ardour/audiofilesource.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libs/ardour/audiofilesource.cc b/libs/ardour/audiofilesource.cc index a25e19ea5a..3bf252af3d 100644 --- a/libs/ardour/audiofilesource.cc +++ b/libs/ardour/audiofilesource.cc @@ -131,9 +131,11 @@ AudioFileSource::AudioFileSource (Session& s, const string& path, Source::Flag f } -/** Constructor used for existing files via XML. File must exist. If _origin - * is an absolute path after ::set_state(), then the file is external to the - * session. +/** Constructor used for sources listed in session-files (XML) + * and missing sources (SilentFileSource). + * + * If _origin is an absolute path after ::set_state(), then the + * file is external to the session. */ AudioFileSource::AudioFileSource (Session& s, const XMLNode& node, bool must_exist) : Source (s, node) @@ -146,7 +148,6 @@ AudioFileSource::AudioFileSource (Session& s, const XMLNode& node, bool must_exi if (Glib::path_is_absolute (_origin)) { _path = _origin; - must_exist = true; } if (init (_path, must_exist)) { |