Mercurial > hg > piper-vamp-js
diff VamPipePluginLibrary.cpp @ 96:514ea085c63a
Include plugin pointer in ConfigurationResponse - otherwise the conversion of ConfigurationResponse to JSON fails
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Mon, 19 Sep 2016 15:52:28 +0100 |
parents | a97aae321809 |
children | c250695a784f |
line wrap: on
line diff
--- a/VamPipePluginLibrary.cpp Mon Sep 19 14:48:43 2016 +0100 +++ b/VamPipePluginLibrary.cpp Mon Sep 19 15:52:28 2016 +0100 @@ -193,6 +193,8 @@ Vamp::HostExt::ConfigurationResponse response; + response.plugin = req.plugin; + if (req.plugin->initialise(req.configuration.channelCount, req.configuration.stepSize, req.configuration.blockSize)) {