comparison data/fileio/WavFileReader.cpp @ 1858:14747f24ad04

Use cancellable serialiser; add some more profiling points
author Chris Cannam
date Thu, 14 May 2020 16:36:48 +0100
parents ce185d4dd408
children
comparison
equal deleted inserted replaced
1857:14c776dad920 1858:14747f24ad04
109 SVDEBUG << "WavFileReader: Filename " << m_path << ", frame count " << m_frameCount << ", channel count " << m_channelCount << ", sample rate " << m_sampleRate << ", format " << m_fileInfo.format << ", seekable " << m_fileInfo.seekable << " adjusted to " << m_seekable << ", normalisation " << int(m_normalisation) << endl; 109 SVDEBUG << "WavFileReader: Filename " << m_path << ", frame count " << m_frameCount << ", channel count " << m_channelCount << ", sample rate " << m_sampleRate << ", format " << m_fileInfo.format << ", seekable " << m_fileInfo.seekable << " adjusted to " << m_seekable << ", normalisation " << int(m_normalisation) << endl;
110 } 110 }
111 111
112 WavFileReader::~WavFileReader() 112 WavFileReader::~WavFileReader()
113 { 113 {
114 Profiler profiler("WavFileReader::~WavFileReader");
115
114 if (m_file) sf_close(m_file); 116 if (m_file) sf_close(m_file);
115 } 117 }
116 118
117 void 119 void
118 WavFileReader::updateFrameCount() 120 WavFileReader::updateFrameCount()