changeset 788:2fa49f5caac5 tonioni

sample playback problems
author gyorgyf
date Sat, 13 Apr 2013 20:03:40 +0100
parents 4faea021b5c1
children 373923435472
files base/PlayParameterRepository.cpp plugin/plugins/SamplePlayer.cpp
diffstat 2 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/base/PlayParameterRepository.cpp	Sat Apr 13 15:36:54 2013 +0100
+++ b/base/PlayParameterRepository.cpp	Sat Apr 13 20:03:40 2013 +0100
@@ -35,14 +35,14 @@
 void
 PlayParameterRepository::addPlayable(const Playable *playable)
 {
-//    std::cerr << "PlayParameterRepository:addPlayable " << playable <<  std::endl;
+   std::cerr << "PlayParameterRepository:addPlayable playable = " << playable <<  std::endl;
 
     if (!getPlayParameters(playable)) {
 
 	// Give all playables the same type of play parameters for the
 	// moment
 
-//	    std::cerr << "PlayParameterRepository: Adding play parameters for " << playable << std::endl;
+	    std::cerr << "PlayParameterRepository:addPlayable: Adding play parameters for " << playable << std::endl;
 
         PlayParameters *params = new PlayParameters;
         m_playParameters[playable] = params;
@@ -62,8 +62,8 @@
         connect(params, SIGNAL(playPluginConfigurationChanged(QString)),
                 this, SLOT(playPluginConfigurationChanged(QString)));
         
-//            std::cerr << "Connected play parameters " << params << " for playable "
-//                      << playable << " to this " << this << std::endl;
+           std::cerr << "Connected play parameters " << params << " for playable "
+                     << playable << " to this " << this << std::endl;
 
     }
 }    
--- a/plugin/plugins/SamplePlayer.cpp	Sat Apr 13 15:36:54 2013 +0100
+++ b/plugin/plugins/SamplePlayer.cpp	Sat Apr 13 20:03:40 2013 +0100
@@ -157,6 +157,7 @@
     }
 
     SamplePlayer *player = new SamplePlayer(rate);
+	// std::cerr << "Instantiated sample player " << std::endl;
 
     if (hostDescriptor->request_non_rt_thread(player, workThreadCallback)) {
 	SVDEBUG << "SamplePlayer::instantiate: Host rejected request_non_rt_thread call, not instantiating" << endl;