diff data/fileio/MP3FileReader.cpp @ 499:b71116d3c180

* Much more sensible pane layouts, etc., when loading RDF; also offer choice of adding to current session or starting new session if RDF references audio (needs some refinement)
author Chris Cannam
date Fri, 28 Nov 2008 15:45:20 +0000
parents 65311fb86166
children af7b6e55895b
line wrap: on
line diff
--- a/data/fileio/MP3FileReader.cpp	Fri Nov 28 13:47:11 2008 +0000
+++ b/data/fileio/MP3FileReader.cpp	Fri Nov 28 15:45:20 2008 +0000
@@ -1,4 +1,3 @@
-
 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*-  vi:set ts=8 sts=4 sw=4: */
 
 /*
@@ -139,6 +138,10 @@
         
         std::cerr << "MP3FileReader ctor: exiting with file rate = " << m_fileRate << std::endl;
     }
+
+    if (m_error != "") {
+        std::cerr << "MP3FileReader::MP3FileReader(\"" << m_path.toStdString() << "\"): ERROR: " << m_error.toStdString() << std::endl;
+    }
 }
 
 MP3FileReader::~MP3FileReader()