comparison base/PlayParameters.cpp @ 57:7439f1696314

* Add editing for auralisation plugin parameters and programs * Rename and reorganise the sample plugin sample set
author Chris Cannam
date Thu, 23 Mar 2006 15:49:41 +0000
parents d397ea0a79f5
children f277a171749d
comparison
equal deleted inserted replaced
56:2157fa46c1e7 57:7439f1696314
35 } 35 }
36 36
37 void 37 void
38 PlayParameters::setPlayPan(float pan) 38 PlayParameters::setPlayPan(float pan)
39 { 39 {
40 m_playPan = pan; 40 if (m_playPan != pan) {
41 emit playPanChanged(pan); 41 m_playPan = pan;
42 emit playParametersChanged(); 42 emit playPanChanged(pan);
43 emit playParametersChanged();
44 }
43 } 45 }
44 46
45 void 47 void
46 PlayParameters::setPlayGain(float gain) 48 PlayParameters::setPlayGain(float gain)
47 { 49 {
48 m_playGain = gain; 50 if (m_playGain != gain) {
49 emit playGainChanged(gain); 51 m_playGain = gain;
50 emit playParametersChanged(); 52 emit playGainChanged(gain);
53 emit playParametersChanged();
54 }
55 }
56
57 void
58 PlayParameters::setPlayPluginId(QString id)
59 {
60 if (m_playPluginId != id) {
61 m_playPluginId = id;
62 emit playPluginIdChanged(id);
63 emit playParametersChanged();
64 }
65 }
66
67 void
68 PlayParameters::setPlayPluginConfiguration(QString configuration)
69 {
70 if (m_playPluginConfiguration != configuration) {
71 m_playPluginConfiguration = configuration;
72 emit playPluginConfigurationChanged(configuration);
73 emit playParametersChanged();
74 }
51 } 75 }
52 76
53 77