comparison transform/Transform.cpp @ 1225:ba16388b937d piper

Restore native-Vamp factory and make the choice between Piper and Native a preference
author Chris Cannam
date Fri, 21 Oct 2016 11:49:27 +0100
parents d094598f84bd
children
comparison
equal deleted inserted replaced
1224:ab050519c4ba 1225:ba16388b937d
200 } 200 }
201 201
202 Transform::Type 202 Transform::Type
203 Transform::getType() const 203 Transform::getType() const
204 { 204 {
205 if (FeatureExtractionPluginFactory::instanceFor(getPluginIdentifier())) { 205 if (RealTimePluginFactory::instanceFor(getPluginIdentifier())) {
206 return FeatureExtraction;
207 } else if (RealTimePluginFactory::instanceFor(getPluginIdentifier())) {
208 return RealTimeEffect; 206 return RealTimeEffect;
209 } else { 207 } else {
210 return UnknownType; 208 return FeatureExtraction;
211 } 209 }
212 } 210 }
213 211
214 QString 212 QString
215 Transform::getPluginIdentifier() const 213 Transform::getPluginIdentifier() const