Mercurial > hg > svcore
comparison transform/ModelTransformerFactory.cpp @ 1039:b14064bd1f97 cxx11
This code now compiles. Main problem: sample rate types
author | Chris Cannam |
---|---|
date | Tue, 03 Mar 2015 17:09:19 +0000 |
parents | d03b3d956358 |
children | a1cd5abcb38b |
comparison
equal
deleted
inserted
replaced
1038:cc27f35aa75c | 1039:b14064bd1f97 |
---|---|
97 | 97 |
98 cerr << "getConfigurationForTransform: instantiating Vamp plugin" << endl; | 98 cerr << "getConfigurationForTransform: instantiating Vamp plugin" << endl; |
99 | 99 |
100 Vamp::Plugin *vp = | 100 Vamp::Plugin *vp = |
101 FeatureExtractionPluginFactory::instanceFor(id)->instantiatePlugin | 101 FeatureExtractionPluginFactory::instanceFor(id)->instantiatePlugin |
102 (id, inputModel->getSampleRate()); | 102 (id, float(inputModel->getSampleRate())); |
103 | 103 |
104 plugin = vp; | 104 plugin = vp; |
105 | 105 |
106 } else if (RealTimePluginFactory::instanceFor(id)) { | 106 } else if (RealTimePluginFactory::instanceFor(id)) { |
107 | 107 |