diff base/PlayParameters.cpp @ 82:bf42d8d63885

* Some work on reloading play parameters from file (not quite working yet) * Win32: redirect stderr to console * A bit of menu reorganisation
author Chris Cannam
date Wed, 26 Apr 2006 14:09:55 +0000
parents f277a171749d
children c30728d5625c
line wrap: on
line diff
--- a/base/PlayParameters.cpp	Tue Apr 25 22:14:43 2006 +0000
+++ b/base/PlayParameters.cpp	Wed Apr 26 14:09:55 2006 +0000
@@ -23,7 +23,7 @@
 {
     QString s;
     s += indent;
-    s += QString("<playParameters mute=\"%1\" pan=\"%2\" gain=\"%3\" pluginId=\"%4\" %6")
+    s += QString("<playparameters mute=\"%1\" pan=\"%2\" gain=\"%3\" pluginId=\"%4\" %6")
         .arg(m_playMuted ? "true" : "false")
         .arg(m_playPan)
         .arg(m_playGain)
@@ -31,7 +31,7 @@
         .arg(extraAttributes);
     if (m_playPluginConfiguration != "") {
         s += ">\n  " + indent + m_playPluginConfiguration
-            + indent + "</playParameters>\n";
+            + "\n" + indent + "</playparameters>\n";
     } else {
         s += "/>\n";
     }
@@ -90,6 +90,7 @@
 {
     if (m_playPluginConfiguration != configuration) {
         m_playPluginConfiguration = configuration;
+        std::cerr << "PlayParameters(" << this << "): setPlayPluginConfiguration to \"" << configuration.toStdString() << "\"" << std::endl;
         emit playPluginConfigurationChanged(configuration);
         emit playParametersChanged();
     }