summaryrefslogtreecommitdiff
path: root/libs/ardour/audiofilesource.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-11-25 14:37:20 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-11-25 14:37:20 +0000
commit926f53244df3d0f43f647f93ee091378ebe101d6 (patch)
tree4849d5a55869ea3242af40eadd39a053c89c2543 /libs/ardour/audiofilesource.cc
parentf41f07832338a52d7c6ac8f6e7bbe4971f6c0bd3 (diff)
carl's wondrous DnD VBox patch - processor boxes are now vboxes and not listviews - which included a couple of minor marker/time axis view patches for opaqueness etc.
git-svn-id: svn://localhost/ardour2/branches/3.0@6174 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/audiofilesource.cc')
-rw-r--r--libs/ardour/audiofilesource.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/audiofilesource.cc b/libs/ardour/audiofilesource.cc
index 8de786eb0e..e9eb3641da 100644
--- a/libs/ardour/audiofilesource.cc
+++ b/libs/ardour/audiofilesource.cc
@@ -99,6 +99,7 @@ AudioFileSource::AudioFileSource (Session& s, const ustring& path, bool embedded
if (init (path, true)) {
throw failed_constructor ();
}
+ cerr << "AFS1 created, " << path << endl;
}
/** Constructor used for new internal-to-session files. */
@@ -113,6 +114,7 @@ AudioFileSource::AudioFileSource (Session& s, const ustring& path, bool embedded
if (init (path, false)) {
throw failed_constructor ();
}
+ cerr << "AFS2 created, " << path << endl;
}
/** Constructor used for existing internal-to-session files. File must exist. */
@@ -128,11 +130,14 @@ AudioFileSource::AudioFileSource (Session& s, const XMLNode& node, bool must_exi
if (init (_name, must_exist)) {
throw failed_constructor ();
}
+ cerr << "AFS3 created, " << path() << endl;
}
AudioFileSource::~AudioFileSource ()
{
+ cerr << "AFS " << _name << " destructor, path = " << path() << endl;
if (removable()) {
+ cerr << "\tremoving file\n";
unlink (_path.c_str());
unlink (peakpath.c_str());
}