comparison rdf/generator/template-generator.cpp @ 157:62ab43ce9790

(none)
author dpastor
date Wed, 25 Jun 2008 12:13:03 +0000
parents aa258ff1511e
children 7c08ba8083b2
comparison
equal deleted inserted replaced
156:aa258ff1511e 157:62ab43ce9790
120 120
121 string describe_param(Plugin *plugin, Plugin::ParameterDescriptor p) 121 string describe_param(Plugin *plugin, Plugin::ParameterDescriptor p)
122 { 122 {
123 123
124 //FIXME: dc:format and vamp:unit are the same??? 124 //FIXME: dc:format and vamp:unit are the same???
125 //Should be a QUantizedParameter also a Parameter??
125 if(p.isQuantized){ 126 if(p.isQuantized){
126 string res=\ 127 string res=\
127 "plugbase:"+plugin->getIdentifier()+"_param_"+p.identifier+" a vamp:QuantizedParameter ;\n\ 128 "plugbase:"+plugin->getIdentifier()+"_param_"+p.identifier+" a vamp:QuantizedParameter ;\n\
128 vamp:identifier \""+p.identifier+"\" ;\n\ 129 vamp:identifier \""+p.identifier+"\" ;\n\
129 dc:title \""+p.name+"\" ;\n\ 130 dc:title \""+p.name+"\" ;\n\