Mercurial > hg > svcore
diff 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 |
line wrap: on
line diff
--- a/transform/ModelTransformerFactory.cpp Tue Mar 03 15:18:24 2015 +0000 +++ b/transform/ModelTransformerFactory.cpp Tue Mar 03 17:09:19 2015 +0000 @@ -99,7 +99,7 @@ Vamp::Plugin *vp = FeatureExtractionPluginFactory::instanceFor(id)->instantiatePlugin - (id, inputModel->getSampleRate()); + (id, float(inputModel->getSampleRate())); plugin = vp;