changeset 1595:c9c8c49b22d6 bqaudiostream

Some logging
author Chris Cannam
date Tue, 22 Jan 2019 20:07:19 +0000
parents afa75922fe0f
children 81989085997b
files data/fileio/BQAFileReader.cpp
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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;
 	}