Mercurial > hg > svcore
comparison data/model/WaveFileModel.cpp @ 163:4148ad087959
* Add mono timestretch toggle button; some more work on getting blocksize etc
parameters through to plugins
author | Chris Cannam |
---|---|
date | Mon, 18 Sep 2006 16:43:17 +0000 |
parents | 4b2ea82fd0ed |
children | b0f4555b625e |
comparison
equal
deleted
inserted
replaced
162:3fe6660f8fe2 | 163:4148ad087959 |
---|---|
477 // for (size_t ct = 0; ct < 2; ++ct) { | 477 // for (size_t ct = 0; ct < 2; ++ct) { |
478 // cerr << "Cache type " << ct << " now contains " << m_model.m_cache[ct].size() << " ranges" << endl; | 478 // cerr << "Cache type " << ct << " now contains " << m_model.m_cache[ct].size() << " ranges" << endl; |
479 // } | 479 // } |
480 } | 480 } |
481 | 481 |
482 void | |
483 WaveFileModel::toXml(QTextStream &out, | |
484 QString indent, | |
485 QString extraAttributes) const | |
486 { | |
487 Model::toXml(out, indent, | |
488 QString("type=\"wavefile\" file=\"%1\" %2") | |
489 .arg(m_path).arg(extraAttributes)); | |
490 } | |
491 | |
482 QString | 492 QString |
483 WaveFileModel::toXmlString(QString indent, | 493 WaveFileModel::toXmlString(QString indent, |
484 QString extraAttributes) const | 494 QString extraAttributes) const |
485 { | 495 { |
486 return Model::toXmlString(indent, | 496 return Model::toXmlString(indent, |