comparison base/PlayParameterRepository.cpp @ 1089:655cd4e68e9a simple-fft-model

More tests
author Chris Cannam
date Fri, 12 Jun 2015 13:46:44 +0100
parents ad14e7ed096d
children 48e9f538e6e9
comparison
equal deleted inserted replaced
1088:5fab8e4f5f19 1089:655cd4e68e9a
33 } 33 }
34 34
35 void 35 void
36 PlayParameterRepository::addPlayable(const Playable *playable) 36 PlayParameterRepository::addPlayable(const Playable *playable)
37 { 37 {
38 cerr << "PlayParameterRepository:addPlayable playable = " << playable << endl; 38 // cerr << "PlayParameterRepository:addPlayable playable = " << playable << 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 cerr << "PlayParameterRepository:addPlayable: Adding play parameters for " << playable << endl; 45 // cerr << "PlayParameterRepository:addPlayable: Adding play parameters for " << playable << 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->setPlayClipId 50 params->setPlayClipId
57 this, SLOT(playParametersChanged())); 57 this, SLOT(playParametersChanged()));
58 58
59 connect(params, SIGNAL(playClipIdChanged(QString)), 59 connect(params, SIGNAL(playClipIdChanged(QString)),
60 this, SLOT(playClipIdChanged(QString))); 60 this, SLOT(playClipIdChanged(QString)));
61 61
62 cerr << "Connected play parameters " << params << " for playable " 62 // cerr << "Connected play parameters " << params << " for playable "
63 << playable << " to this " << this << endl; 63 // << playable << " to this " << this << endl;
64 } 64 }
65 } 65 }
66 66
67 void 67 void
68 PlayParameterRepository::removePlayable(const Playable *playable) 68 PlayParameterRepository::removePlayable(const Playable *playable)