diff base/PlayParameterRepository.cpp @ 117:c30728d5625c sv1-v0.9rc1

* Make vertical scale alignment modes work in note layer as well as time-value layer, and several significant fixes to it * Make it possible to draw notes properly on the note layer * Show units (and frequencies etc in note layer's case) in the time-value and note layer description boxes * Minor fix to item edit dialog layout * Some minor menu rearrangement * Comment out a lot of debug output * Add SV website and reference URLs to Help menu, and add code to (attempt to) open them in the user's preferred browser
author Chris Cannam
date Fri, 12 May 2006 14:40:43 +0000
parents b2067aff8cd6
children 82f529a08cf3
line wrap: on
line diff
--- a/base/PlayParameterRepository.cpp	Thu May 11 15:02:14 2006 +0000
+++ b/base/PlayParameterRepository.cpp	Fri May 12 14:40:43 2006 +0000
@@ -39,7 +39,7 @@
 void
 PlayParameterRepository::addModel(const Model *model)
 {
-    std::cerr << "PlayParameterRepository:addModel " << model <<  std::endl;
+//    std::cerr << "PlayParameterRepository:addModel " << model <<  std::endl;
 
     if (!getPlayParameters(model)) {
 
@@ -48,7 +48,7 @@
 
 	if (AudioGenerator::canPlay(model)) {
 
-	    std::cerr << "PlayParameterRepository: Adding play parameters for " << model << std::endl;
+//	    std::cerr << "PlayParameterRepository: Adding play parameters for " << model << std::endl;
 
             PlayParameters *params = new PlayParameters;
 	    m_playParameters[model] = params;
@@ -68,12 +68,12 @@
 	    connect(params, SIGNAL(playPluginConfigurationChanged(QString)),
 		    this, SLOT(playPluginConfigurationChanged(QString)));
 
-            std::cerr << "Connected play parameters " << params << " for model "
-                      << model << " to this " << this << std::endl;
+//            std::cerr << "Connected play parameters " << params << " for model "
+//                      << model << " to this " << this << std::endl;
 
 	} else {
 
-	    std::cerr << "PlayParameterRepository: Model " << model << " not playable" <<  std::endl;
+//	    std::cerr << "PlayParameterRepository: Model " << model << " not playable" <<  std::endl;
 	}	    
     }
 }    
@@ -116,7 +116,7 @@
 PlayParameterRepository::playPluginConfigurationChanged(QString config)
 {
     PlayParameters *params = dynamic_cast<PlayParameters *>(sender());
-    std::cerr << "PlayParameterRepository::playPluginConfigurationChanged" << std::endl;
+//    std::cerr << "PlayParameterRepository::playPluginConfigurationChanged" << std::endl;
     for (ModelParameterMap::iterator i = m_playParameters.begin();
          i != m_playParameters.end(); ++i) {
         if (i->second == params) {
@@ -129,7 +129,7 @@
 void
 PlayParameterRepository::clear()
 {
-    std::cerr << "PlayParameterRepository: PlayParameterRepository::clear" << std::endl;
+//    std::cerr << "PlayParameterRepository: PlayParameterRepository::clear" << std::endl;
     while (!m_playParameters.empty()) {
 	delete m_playParameters.begin()->second;
 	m_playParameters.erase(m_playParameters.begin());