comparison data/model/WritableWaveFileModel.cpp @ 1065:0fd3661bcfff tonioni

clone() is never used (therefore presumably never works either)
author Chris Cannam
date Tue, 31 Mar 2015 12:12:31 +0100
parents a1cd5abcb38b
children 9f4505ac9072
comparison
equal deleted inserted replaced
1064:c9fdd9921146 1065:0fd3661bcfff
167 { 167 {
168 // SVDEBUG << "WritableWaveFileModel::getFrameCount: count = " << m_frameCount << endl; 168 // SVDEBUG << "WritableWaveFileModel::getFrameCount: count = " << m_frameCount << endl;
169 return m_frameCount; 169 return m_frameCount;
170 } 170 }
171 171
172 Model *
173 WritableWaveFileModel::clone() const
174 {
175 assert(0); //!!!
176 return 0;
177 }
178
179 sv_frame_t 172 sv_frame_t
180 WritableWaveFileModel::getData(int channel, sv_frame_t start, sv_frame_t count, 173 WritableWaveFileModel::getData(int channel, sv_frame_t start, sv_frame_t count,
181 float *buffer) const 174 float *buffer) const
182 { 175 {
183 if (!m_model || m_model->getChannelCount() == 0) return 0; 176 if (!m_model || m_model->getChannelCount() == 0) return 0;