comparison transform/TransformFactory.cpp @ 583:ecbd99d5d2c4

* fix to rounding problems in plugin parameter box
author Chris Cannam
date Mon, 30 Mar 2009 13:47:00 +0000
parents 2ba202c5be8d
children 3f6d9930bc28
comparison
equal deleted inserted replaced
582:442e2ff876aa 583:ecbd99d5d2c4
928 plugin->getParameterDescriptors(); 928 plugin->getParameterDescriptors();
929 929
930 for (Vamp::PluginBase::ParameterList::const_iterator i = parameters.begin(); 930 for (Vamp::PluginBase::ParameterList::const_iterator i = parameters.begin();
931 i != parameters.end(); ++i) { 931 i != parameters.end(); ++i) {
932 pmap[i->identifier.c_str()] = plugin->getParameter(i->identifier); 932 pmap[i->identifier.c_str()] = plugin->getParameter(i->identifier);
933 // std::cerr << "TransformFactory::setParametersFromPlugin: parameter "
934 // << i->identifier << " -> value " <<
935 // pmap[i->identifier.c_str()] << std::endl;
933 } 936 }
934 937
935 transform.setParameters(pmap); 938 transform.setParameters(pmap);
936 939
937 if (plugin->getPrograms().empty()) { 940 if (plugin->getPrograms().empty()) {