Mercurial > hg > svcore
comparison base/PlayParameterRepository.cpp @ 788:2fa49f5caac5 tonioni
sample playback problems
author | gyorgyf |
---|---|
date | Sat, 13 Apr 2013 20:03:40 +0100 |
parents | 1424aa29ae95 |
children | 2d53205f70cd |
comparison
equal
deleted
inserted
replaced
787:4faea021b5c1 | 788:2fa49f5caac5 |
---|---|
33 } | 33 } |
34 | 34 |
35 void | 35 void |
36 PlayParameterRepository::addPlayable(const Playable *playable) | 36 PlayParameterRepository::addPlayable(const Playable *playable) |
37 { | 37 { |
38 // std::cerr << "PlayParameterRepository:addPlayable " << playable << std::endl; | 38 std::cerr << "PlayParameterRepository:addPlayable playable = " << playable << std::endl; |
39 | 39 |
40 if (!getPlayParameters(playable)) { | 40 if (!getPlayParameters(playable)) { |
41 | 41 |
42 // Give all playables the same type of play parameters for the | 42 // Give all playables the same type of play parameters for the |
43 // moment | 43 // moment |
44 | 44 |
45 // std::cerr << "PlayParameterRepository: Adding play parameters for " << playable << std::endl; | 45 std::cerr << "PlayParameterRepository:addPlayable: Adding play parameters for " << playable << std::endl; |
46 | 46 |
47 PlayParameters *params = new PlayParameters; | 47 PlayParameters *params = new PlayParameters; |
48 m_playParameters[playable] = params; | 48 m_playParameters[playable] = params; |
49 | 49 |
50 params->setPlayPluginId | 50 params->setPlayPluginId |
60 this, SLOT(playPluginIdChanged(QString))); | 60 this, SLOT(playPluginIdChanged(QString))); |
61 | 61 |
62 connect(params, SIGNAL(playPluginConfigurationChanged(QString)), | 62 connect(params, SIGNAL(playPluginConfigurationChanged(QString)), |
63 this, SLOT(playPluginConfigurationChanged(QString))); | 63 this, SLOT(playPluginConfigurationChanged(QString))); |
64 | 64 |
65 // std::cerr << "Connected play parameters " << params << " for playable " | 65 std::cerr << "Connected play parameters " << params << " for playable " |
66 // << playable << " to this " << this << std::endl; | 66 << playable << " to this " << this << std::endl; |
67 | 67 |
68 } | 68 } |
69 } | 69 } |
70 | 70 |
71 void | 71 void |