diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-04-20 16:31:06 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-04-20 16:31:06 -0400 |
commit | d5be54080fa25e45e8bf441e9c72e53ffa3daa72 (patch) | |
tree | efec66f75e66c64b8e36a2625c04b8a0b798ddf9 /libs/ardour/file_source.cc | |
parent | d263cf7ded76d510addd90b036befd4bb7eea9d1 (diff) |
add a pure virtual FileSource::close() method so that FileSource::set_path() can ensure we no longer have a handle open
Diffstat (limited to 'libs/ardour/file_source.cc')
-rw-r--r-- | libs/ardour/file_source.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/file_source.cc b/libs/ardour/file_source.cc index b4ecb157c5..507f0df49c 100644 --- a/libs/ardour/file_source.cc +++ b/libs/ardour/file_source.cc @@ -544,6 +544,7 @@ FileSource::set_within_session_from_path (const std::string& path) void FileSource::set_path (const std::string& newpath) { + close (); _path = newpath; set_within_session_from_path (newpath); if (_within_session) { |