summaryrefslogtreecommitdiff
path: root/libs/ardour/sndfilesource.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-07-16 14:55:11 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-07-16 14:55:11 +0000
commitc8e3f32533cc6f4481222781d93e7bf7c32ffe5f (patch)
tree94f6c8a687459ebeaaa259acc4da1832ff2bd303 /libs/ardour/sndfilesource.cc
parente9ab577177db3c37719331c00900e48d4dfbf158 (diff)
newly created files for use in recording appear in a .stubs folder, and are moved out of it when recording stops
git-svn-id: svn://localhost/ardour2/branches/3.0@7426 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/sndfilesource.cc')
-rw-r--r--libs/ardour/sndfilesource.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/libs/ardour/sndfilesource.cc b/libs/ardour/sndfilesource.cc
index 0b67cd789e..28286dbebf 100644
--- a/libs/ardour/sndfilesource.cc
+++ b/libs/ardour/sndfilesource.cc
@@ -889,3 +889,13 @@ SndFileSource::file_closed ()
touch_peakfile ();
}
+
+void
+SndFileSource::set_path (const string& p)
+{
+ FileSource::set_path (p);
+
+ if (_descriptor) {
+ _descriptor->set_path (_path);
+ }
+}