diff 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
line wrap: on
line diff
--- a/data/model/WaveFileModel.cpp	Wed Sep 13 11:56:44 2006 +0000
+++ b/data/model/WaveFileModel.cpp	Mon Sep 18 16:43:17 2006 +0000
@@ -479,6 +479,16 @@
 //    }
 }
 
+void
+WaveFileModel::toXml(QTextStream &out,
+                     QString indent,
+                     QString extraAttributes) const
+{
+    Model::toXml(out, indent,
+                 QString("type=\"wavefile\" file=\"%1\" %2")
+                 .arg(m_path).arg(extraAttributes));
+}
+
 QString
 WaveFileModel::toXmlString(QString indent,
 			   QString extraAttributes) const