comparison audioio/AudioCallbackPlaySource.cpp @ 18:6b5eaf206f0f

* More document structure / main window / file I/O work
author Chris Cannam
date Fri, 10 Mar 2006 12:28:22 +0000
parents 89bb89894ad6
children c606d3ffa397
comparison
equal deleted inserted replaced
17:9149ecec02fc 18:6b5eaf206f0f
172 } 172 }
173 173
174 size_t lastEnd = 0; 174 size_t lastEnd = 0;
175 for (std::set<Model *>::const_iterator i = m_models.begin(); 175 for (std::set<Model *>::const_iterator i = m_models.begin();
176 i != m_models.end(); ++i) { 176 i != m_models.end(); ++i) {
177 std::cerr << "AudioCallbackPlaySource::removeModel(" << model << "): checking end frame on model " << *i << std::endl;
177 if ((*i)->getEndFrame() > lastEnd) lastEnd = (*i)->getEndFrame(); 178 if ((*i)->getEndFrame() > lastEnd) lastEnd = (*i)->getEndFrame();
179 std::cerr << "(done, lastEnd now " << lastEnd << ")" << std::endl;
178 } 180 }
179 m_lastModelEndFrame = lastEnd; 181 m_lastModelEndFrame = lastEnd;
180 182
181 m_mutex.unlock(); 183 m_mutex.unlock();
182 184