diff data/model/ReadOnlyWaveFileModel.cpp @ 1450:a12fd0456f0c streaming-csv-writer

Merge from default branch
author Chris Cannam
date Tue, 17 Apr 2018 10:35:42 +0100
parents 87ae75da6527
children 0925b37a3ed1
line wrap: on
line diff
--- a/data/model/ReadOnlyWaveFileModel.cpp	Tue Apr 17 10:03:51 2018 +0100
+++ b/data/model/ReadOnlyWaveFileModel.cpp	Tue Apr 17 10:35:42 2018 +0100
@@ -219,7 +219,7 @@
     int channels = getChannelCount();
 
     if (channel >= channels) {
-        cerr << "ERROR: WaveFileModel::getData: channel ("
+        SVCERR << "ERROR: WaveFileModel::getData: channel ("
              << channel << ") >= channel count (" << channels << ")"
              << endl;
         return {};
@@ -278,14 +278,14 @@
     int channels = getChannelCount();
 
     if (fromchannel > tochannel) {
-        cerr << "ERROR: ReadOnlyWaveFileModel::getData: fromchannel ("
+        SVCERR << "ERROR: ReadOnlyWaveFileModel::getData: fromchannel ("
                   << fromchannel << ") > tochannel (" << tochannel << ")"
                   << endl;
         return {};
     }
 
     if (tochannel >= channels) {
-        cerr << "ERROR: ReadOnlyWaveFileModel::getData: tochannel ("
+        SVCERR << "ERROR: ReadOnlyWaveFileModel::getData: tochannel ("
                   << tochannel << ") >= channel count (" << channels << ")"
                   << endl;
         return {};