Mercurial > hg > svcore
comparison data/model/WaveFileModel.cpp @ 258:96a6dd889c68
* Fix #1706924 updates not happening on derived waveform generation
author | Chris Cannam |
---|---|
date | Mon, 30 Apr 2007 09:07:42 +0000 |
parents | 3e6fee4e4257 |
children | e08f486e8d8c |
comparison
equal
deleted
inserted
replaced
257:46398ab6ff58 | 258:96a6dd889c68 |
---|---|
146 } | 146 } |
147 | 147 |
148 if (!m_reader || !m_reader->isOK()) return 0; | 148 if (!m_reader || !m_reader->isOK()) return 0; |
149 | 149 |
150 #ifdef DEBUG_WAVE_FILE_MODEL | 150 #ifdef DEBUG_WAVE_FILE_MODEL |
151 std::cerr << "WaveFileModel::getValues(" << channel << ", " | 151 // std::cerr << "WaveFileModel::getValues(" << channel << ", " |
152 << start << ", " << end << "): calling reader" << std::endl; | 152 // << start << ", " << end << "): calling reader" << std::endl; |
153 #endif | 153 #endif |
154 | 154 |
155 SampleBlock frames; | 155 SampleBlock frames; |
156 m_reader->getInterleavedFrames(start, end - start, frames); | 156 m_reader->getInterleavedFrames(start, end - start, frames); |
157 | 157 |