comparison audioio/AudioGenerator.cpp @ 31:b1112948724f

* Some work on reloading play parameters from file (not quite working yet) * Win32: redirect stderr to console * A bit of menu reorganisation
author Chris Cannam
date Wed, 26 Apr 2006 14:09:55 +0000
parents f38b8abd3540
children 42989c2e621b
comparison
equal deleted inserted replaced
30:f38b8abd3540 31:b1112948724f
117 117
118 void 118 void
119 AudioGenerator::playPluginConfigurationChanged(const Model *model, 119 AudioGenerator::playPluginConfigurationChanged(const Model *model,
120 QString configurationXml) 120 QString configurationXml)
121 { 121 {
122 if (m_synthMap.find(model) == m_synthMap.end()) return; 122 std::cerr << "AudioGenerator::playPluginConfigurationChanged" << std::endl;
123
124 if (m_synthMap.find(model) == m_synthMap.end()) {
125 std::cerr << "AudioGenerator::playPluginConfigurationChanged: We don't know about this plugin" << std::endl;
126 return;
127 }
123 128
124 RealTimePluginInstance *plugin = m_synthMap[model]; 129 RealTimePluginInstance *plugin = m_synthMap[model];
125 if (plugin) { 130 if (plugin) {
126 PluginXml(plugin).setParametersFromXml(configurationXml); 131 PluginXml(plugin).setParametersFromXml(configurationXml);
127 } 132 }