projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add a pure virtual FileSource::close() method so that FileSource::set_path() can...
[ardour.git]
/
libs
/
ardour
/
file_source.cc
diff --git
a/libs/ardour/file_source.cc
b/libs/ardour/file_source.cc
index b4ecb157c5038e916a22e0a2391b4fa5559c15a1..507f0df49c84647144cc616cfa4b1c8b4ec430d8 100644
(file)
--- 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) {