diff options
Diffstat (limited to 'libs/ardour/audiofilesource.cc')
-rw-r--r-- | libs/ardour/audiofilesource.cc | 5 |
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()); } |