diff options
author | Mathias Buhr <napcode@apparatus.de> | 2015-08-29 13:48:05 +0200 |
---|---|---|
committer | Mathias Buhr <mathias.buhr@citrix.com> | 2015-09-03 09:54:23 +0200 |
commit | 624f76b229b8e71f9c57aa60da1ac2046b0578cd (patch) | |
tree | a16708eee0c4590f08b9899c9ec7c46e218ca533 /libs/ardour/file_source.cc | |
parent | 95b144ee583e49d8532749a1e820f93c5f701381 (diff) |
Fixes case where audiofiles used wrong peakfiles
Diffstat (limited to 'libs/ardour/file_source.cc')
-rw-r--r-- | libs/ardour/file_source.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/file_source.cc b/libs/ardour/file_source.cc index 507f0df49c..43763cf2f9 100644 --- a/libs/ardour/file_source.cc +++ b/libs/ardour/file_source.cc @@ -58,7 +58,7 @@ FileSource::FileSource (Session& session, DataType type, const string& path, con , _path (path) , _file_is_new (!origin.empty()) // if origin is left unspecified (empty string) then file must exist , _channel (0) - , _origin (origin) + , _origin (origin) { set_within_session_from_path (path); } @@ -148,9 +148,9 @@ FileSource::set_state (const XMLNode& node, int /*version*/) _channel = 0; } - if ((prop = node.property (X_("origin"))) != 0) { - _origin = prop->value(); - } + if ((prop = node.property (X_("origin"))) != 0) { + _origin = prop->value(); + } return 0; } |