initial implementation of "bring all media into session folder". Incomplete but basic...
[ardour.git] / libs / ardour / sndfilesource.cc
index af25b3e76f84ca9cee2a1840d1ec1e705a444beb..58fbab233b3f05bfa1d355a2817caa90e15529f5 100644 (file)
@@ -1016,3 +1016,12 @@ SndFileSource::set_path (const string& p)
                 _descriptor->set_path (_path);
         }
 }
+
+void
+SndFileSource::release_descriptor ()
+{
+       if (_descriptor) {
+               _descriptor->release ();
+               _descriptor = 0;
+       }
+}