projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
initial implementation of "bring all media into session folder". Incomplete but basic...
[ardour.git]
/
libs
/
ardour
/
sndfilesource.cc
diff --git
a/libs/ardour/sndfilesource.cc
b/libs/ardour/sndfilesource.cc
index af25b3e76f84ca9cee2a1840d1ec1e705a444beb..58fbab233b3f05bfa1d355a2817caa90e15529f5 100644
(file)
--- a/
libs/ardour/sndfilesource.cc
+++ b/
libs/ardour/sndfilesource.cc
@@
-1016,3
+1016,12
@@
SndFileSource::set_path (const string& p)
_descriptor->set_path (_path);
}
}
+
+void
+SndFileSource::release_descriptor ()
+{
+ if (_descriptor) {
+ _descriptor->release ();
+ _descriptor = 0;
+ }
+}