diff data/fileio/BQAFileReader.cpp @ 1595:c9c8c49b22d6 bqaudiostream

Some logging
author Chris Cannam
date Tue, 22 Jan 2019 20:07:19 +0000
parents b67f5b6a7978
children 8aa1447fe27e
line wrap: on
line diff
--- a/data/fileio/BQAFileReader.cpp	Tue Jan 22 16:27:14 2019 +0000
+++ b/data/fileio/BQAFileReader.cpp	Tue Jan 22 20:07:19 2019 +0000
@@ -54,6 +54,7 @@
 	    (m_path.toUtf8().data());
     } catch (const std::exception &e) {
 	m_error = e.what();
+        SVDEBUG << "BQAFileReader: createReadStream failed: " << m_error << endl;
 	m_stream = 0;
 	return;
     }
@@ -88,6 +89,7 @@
 		}
 	    } catch (const breakfastquay::InvalidFileFormat &f) {
 		m_error = f.what();
+                SVDEBUG << "BQAFileReader: init failed: " << m_error << endl;
 		break;
 	    }
 
@@ -151,6 +153,7 @@
 	    }
 	} catch (const breakfastquay::InvalidFileFormat &f) {
 	    m_reader->m_error = f.what();
+            SVDEBUG << "BQAFileReader: decode failed: " << m_reader->m_error << endl;
 	    break;
 	}