comparison plugin/FeatureExtractionPluginFactory.cpp @ 1214:77320e522253 piper

Fix compiler warnings
author Chris Cannam
date Mon, 17 Oct 2016 16:39:36 +0100
parents 8dc7ab20e847
children c2207877689d
comparison
equal deleted inserted replaced
1213:8dc7ab20e847 1214:77320e522253
116 QString type, soname, label; 116 QString type, soname, label;
117 PluginIdentifier::parseIdentifier(identifier, type, soname, label); 117 PluginIdentifier::parseIdentifier(identifier, type, soname, label);
118 std::string pluginKey = (soname + ":" + label).toStdString(); 118 std::string pluginKey = (soname + ":" + label).toStdString();
119 119
120 auto ap = new piper_vamp::client::AutoPlugin 120 auto ap = new piper_vamp::client::AutoPlugin
121 (m_serverName, pluginKey, inputSampleRate, 0); 121 (m_serverName, pluginKey, float(inputSampleRate), 0);
122 122
123 if (!ap->isOK()) { 123 if (!ap->isOK()) {
124 delete ap; 124 delete ap;
125 return 0; 125 return 0;
126 } else { 126 } else {