comparison data/model/WaveFileModel.cpp @ 195:c92a605f6b59

* Wire up the Panner widget in the pane, and do some tidying in Pane
author Chris Cannam
date Thu, 19 Oct 2006 13:05:39 +0000
parents bf1f256864de
children 91fdc752e540
comparison
equal deleted inserted replaced
194:10e897e6dcba 195:c92a605f6b59
128 assert(end >= start); 128 assert(end >= start);
129 } 129 }
130 130
131 if (!m_reader || !m_reader->isOK()) return 0; 131 if (!m_reader || !m_reader->isOK()) return 0;
132 132
133 std::cerr << "WaveFileModel::getValues(" << channel << ", " 133 // std::cerr << "WaveFileModel::getValues(" << channel << ", "
134 << start << ", " << end << "): calling reader" << std::endl; 134 // << start << ", " << end << "): calling reader" << std::endl;
135 135
136 SampleBlock frames; 136 SampleBlock frames;
137 m_reader->getInterleavedFrames(start, end - start, frames); 137 m_reader->getInterleavedFrames(start, end - start, frames);
138 138
139 size_t i = 0; 139 size_t i = 0;