diff data/fileio/CoreAudioFileReader.cpp @ 1315:af0ccbb3e3d7 3.0-integration

Further updates to tests and debug output for file reading on OSX
author Chris Cannam <cannam@all-day-breakfast.com>
date Fri, 02 Dec 2016 09:13:52 +0000
parents 0a9193dc136b
children c380e56c95f5
line wrap: on
line diff
--- a/data/fileio/CoreAudioFileReader.cpp	Thu Dec 01 20:49:55 2016 +0000
+++ b/data/fileio/CoreAudioFileReader.cpp	Fri Dec 02 09:13:52 2016 +0000
@@ -125,7 +125,7 @@
     m_channelCount = m_d->asbd.mChannelsPerFrame;
     m_fileRate = m_d->asbd.mSampleRate;
 
-    cerr << "CoreAudioReadStream: " << m_channelCount << " channels, " << m_fileRate << " Hz" << endl;
+    SVDEBUG << "CoreAudioFileReader: " << m_channelCount << " channels, " << m_fileRate << " Hz" << endl;
 
     m_d->asbd.mFormatID = kAudioFormatLinearPCM;
     m_d->asbd.mFormatFlags =
@@ -192,7 +192,7 @@
 
 CoreAudioFileReader::~CoreAudioFileReader()
 {
-    cerr << "CoreAudioFileReader::~CoreAudioFileReader" << endl;
+    SVDEBUG << "CoreAudioFileReader::~CoreAudioFileReader" << endl;
 
     if (m_d->valid) {
         ExtAudioFileDispose(m_d->file);