mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
parent
6c933c7789
commit
0b51d760ad
1 changed files with 5 additions and 4 deletions
|
|
@ -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
|
/** Constructor used for sources listed in session-files (XML)
|
||||||
* is an absolute path after ::set_state(), then the file is external to the
|
* and missing sources (SilentFileSource).
|
||||||
* session.
|
*
|
||||||
|
* 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)
|
AudioFileSource::AudioFileSource (Session& s, const XMLNode& node, bool must_exist)
|
||||||
: Source (s, node)
|
: Source (s, node)
|
||||||
|
|
@ -146,7 +148,6 @@ AudioFileSource::AudioFileSource (Session& s, const XMLNode& node, bool must_exi
|
||||||
|
|
||||||
if (Glib::path_is_absolute (_origin)) {
|
if (Glib::path_is_absolute (_origin)) {
|
||||||
_path = _origin;
|
_path = _origin;
|
||||||
must_exist = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (init (_path, must_exist)) {
|
if (init (_path, must_exist)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue