comparison base/PlayParameters.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 bf42d8d63885
children 41d64b873d87
comparison
equal deleted inserted replaced
116:a08718723b20 117:c30728d5625c
39 } 39 }
40 40
41 void 41 void
42 PlayParameters::setPlayMuted(bool muted) 42 PlayParameters::setPlayMuted(bool muted)
43 { 43 {
44 std::cerr << "PlayParameters: setPlayMuted(" << muted << ")" << std::endl; 44 // std::cerr << "PlayParameters: setPlayMuted(" << muted << ")" << std::endl;
45 m_playMuted = muted; 45 m_playMuted = muted;
46 emit playMutedChanged(muted); 46 emit playMutedChanged(muted);
47 emit playAudibleChanged(!muted); 47 emit playAudibleChanged(!muted);
48 emit playParametersChanged(); 48 emit playParametersChanged();
49 } 49 }
50 50
51 void 51 void
52 PlayParameters::setPlayAudible(bool audible) 52 PlayParameters::setPlayAudible(bool audible)
53 { 53 {
54 std::cerr << "PlayParameters(" << this << "): setPlayAudible(" << audible << ")" << std::endl; 54 // std::cerr << "PlayParameters(" << this << "): setPlayAudible(" << audible << ")" << std::endl;
55 setPlayMuted(!audible); 55 setPlayMuted(!audible);
56 } 56 }
57 57
58 void 58 void
59 PlayParameters::setPlayPan(float pan) 59 PlayParameters::setPlayPan(float pan)
88 void 88 void
89 PlayParameters::setPlayPluginConfiguration(QString configuration) 89 PlayParameters::setPlayPluginConfiguration(QString configuration)
90 { 90 {
91 if (m_playPluginConfiguration != configuration) { 91 if (m_playPluginConfiguration != configuration) {
92 m_playPluginConfiguration = configuration; 92 m_playPluginConfiguration = configuration;
93 std::cerr << "PlayParameters(" << this << "): setPlayPluginConfiguration to \"" << configuration.toStdString() << "\"" << std::endl; 93 // std::cerr << "PlayParameters(" << this << "): setPlayPluginConfiguration to \"" << configuration.toStdString() << "\"" << std::endl;
94 emit playPluginConfigurationChanged(configuration); 94 emit playPluginConfigurationChanged(configuration);
95 emit playParametersChanged(); 95 emit playParametersChanged();
96 } 96 }
97 } 97 }
98 98