comparison widgets/PluginParameterBox.cpp @ 706:97ea68f62c1f imaf_enc

Merge from default branch
author Chris Cannam
date Thu, 05 Dec 2013 09:47:02 +0000
parents 1a0dfcbffaf1
children e4773943c9c1
comparison
equal deleted inserted replaced
678:26c5f7fd4807 706:97ea68f62c1f
107 } 107 }
108 108
109 float qtz = 0.0; 109 float qtz = 0.0;
110 if (params[i].isQuantized) qtz = params[i].quantizeStep; 110 if (params[i].isQuantized) qtz = params[i].quantizeStep;
111 111
112 // std::cerr << "PluginParameterBox: hint = " << hint << ", min = " << min << ", max = " 112 // cerr << "PluginParameterBox: hint = " << hint << ", min = " << min << ", max = "
113 // << max << ", qtz = " << qtz << std::endl; 113 // << max << ", qtz = " << qtz << endl;
114 114
115 std::vector<std::string> valueNames = params[i].valueNames; 115 std::vector<std::string> valueNames = params[i].valueNames;
116 116
117 // construct an integer range 117 // construct an integer range
118 118
223 m_nameMap.find(identifier) != m_nameMap.end()) { 223 m_nameMap.find(identifier) != m_nameMap.end()) {
224 identifier = m_nameMap[identifier]; 224 identifier = m_nameMap[identifier];
225 } 225 }
226 226
227 if (m_params.find(identifier) == m_params.end()) { 227 if (m_params.find(identifier) == m_params.end()) {
228 std::cerr << "WARNING: PluginParameterBox::dialChanged: Unknown parameter \"" << identifier << "\"" << std::endl; 228 cerr << "WARNING: PluginParameterBox::dialChanged: Unknown parameter \"" << identifier << "\"" << endl;
229 return; 229 return;
230 } 230 }
231 231
232 Vamp::PluginBase::ParameterDescriptor params = m_params[identifier].param; 232 Vamp::PluginBase::ParameterDescriptor params = m_params[identifier].param;
233 233
286 m_nameMap.find(identifier) != m_nameMap.end()) { 286 m_nameMap.find(identifier) != m_nameMap.end()) {
287 identifier = m_nameMap[identifier]; 287 identifier = m_nameMap[identifier];
288 } 288 }
289 289
290 if (m_params.find(identifier) == m_params.end()) { 290 if (m_params.find(identifier) == m_params.end()) {
291 std::cerr << "WARNING: PluginParameterBox::checkBoxChanged: Unknown parameter \"" << identifier << "\"" << std::endl; 291 cerr << "WARNING: PluginParameterBox::checkBoxChanged: Unknown parameter \"" << identifier << "\"" << endl;
292 return; 292 return;
293 } 293 }
294 294
295 Vamp::PluginBase::ParameterDescriptor params = m_params[identifier].param; 295 Vamp::PluginBase::ParameterDescriptor params = m_params[identifier].param;
296 296
312 m_nameMap.find(identifier) != m_nameMap.end()) { 312 m_nameMap.find(identifier) != m_nameMap.end()) {
313 identifier = m_nameMap[identifier]; 313 identifier = m_nameMap[identifier];
314 } 314 }
315 315
316 if (m_params.find(identifier) == m_params.end()) { 316 if (m_params.find(identifier) == m_params.end()) {
317 std::cerr << "WARNING: PluginParameterBox::spinBoxChanged: Unknown parameter \"" << identifier << "\"" << std::endl; 317 cerr << "WARNING: PluginParameterBox::spinBoxChanged: Unknown parameter \"" << identifier << "\"" << endl;
318 return; 318 return;
319 } 319 }
320 320
321 Vamp::PluginBase::ParameterDescriptor params = m_params[identifier].param; 321 Vamp::PluginBase::ParameterDescriptor params = m_params[identifier].param;
322 322