# HG changeset patch # User Chris Cannam # Date 1160062763 0 # Node ID bd12602614128cc9bcf312adc6d39606723cf176 # Parent 0ed2b2e26b44435593d6b363c569d65a99d3fd87 ... diff -r 0ed2b2e26b44 -r bd1260261412 data/model/WaveFileModel.cpp --- a/data/model/WaveFileModel.cpp Thu Oct 05 11:03:06 2006 +0000 +++ b/data/model/WaveFileModel.cpp Thu Oct 05 15:39:23 2006 +0000 @@ -89,6 +89,7 @@ bool ready = (isOK() && (m_fillThread == 0)); double c = double(m_lastFillExtent) / double(getEndFrame() - getStartFrame()); if (completion) *completion = int(c * 100.0 + 0.01); + std::cerr << "WaveFileModel::isReady(): ready = " << ready << ", completion = " << (completion ? *completion : -1) << std::endl; return ready; } diff -r 0ed2b2e26b44 -r bd1260261412 data/model/WritableWaveFileModel.cpp --- a/data/model/WritableWaveFileModel.cpp Thu Oct 05 11:03:06 2006 +0000 +++ b/data/model/WritableWaveFileModel.cpp Thu Oct 05 15:39:23 2006 +0000 @@ -124,7 +124,7 @@ WritableWaveFileModel::isReady(int *completion) const { bool ready = (m_model && m_model->isReady(completion)); - std::cerr << "WritableWaveFileModel::isReady(): ready = " << ready << std::endl; + std::cerr << "WritableWaveFileModel::isReady(): ready = " << ready << ", completion = " << (completion ? *completion : -1) << std::endl; return ready; }