Mercurial > hg > svcore
comparison data/model/WaveFileModel.cpp @ 193:bf1f256864de
* A start to a panner widget to go with thumbwheels
author | Chris Cannam |
---|---|
date | Wed, 18 Oct 2006 16:38:30 +0000 |
parents | f86b74d1b143 |
children | c92a605f6b59 |
comparison
equal
deleted
inserted
replaced
192:900ac6667eab | 193:bf1f256864de |
---|---|
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; |