Mercurial > hg > svapp
comparison framework/TransformUserConfigurator.cpp @ 436:72c662fe7ea3 cxx11
Further dedicated-types fixes
author | Chris Cannam |
---|---|
date | Tue, 10 Mar 2015 17:02:52 +0000 |
parents | ad168a6510f0 |
children | 167fe01d5631 |
comparison
equal
deleted
inserted
replaced
435:618d5816b04d | 436:72c662fe7ea3 |
---|---|
44 int &minChannels, int &maxChannels) | 44 int &minChannels, int &maxChannels) |
45 { | 45 { |
46 if (plugin && plugin->getType() == "Feature Extraction Plugin") { | 46 if (plugin && plugin->getType() == "Feature Extraction Plugin") { |
47 Vamp::Plugin *vp = static_cast<Vamp::Plugin *>(plugin); | 47 Vamp::Plugin *vp = static_cast<Vamp::Plugin *>(plugin); |
48 SVDEBUG << "TransformUserConfigurator::getChannelRange: is a VP" << endl; | 48 SVDEBUG << "TransformUserConfigurator::getChannelRange: is a VP" << endl; |
49 minChannels = vp->getMinChannelCount(); | 49 minChannels = int(vp->getMinChannelCount()); |
50 maxChannels = vp->getMaxChannelCount(); | 50 maxChannels = int(vp->getMaxChannelCount()); |
51 return true; | 51 return true; |
52 } else { | 52 } else { |
53 SVDEBUG << "TransformUserConfigurator::getChannelRange: is not a VP" << endl; | 53 SVDEBUG << "TransformUserConfigurator::getChannelRange: is not a VP" << endl; |
54 return TransformFactory::getInstance()-> | 54 return TransformFactory::getInstance()-> |
55 getTransformChannelRange(identifier, minChannels, maxChannels); | 55 getTransformChannelRange(identifier, minChannels, maxChannels); |