Mercurial > hg > piper-vamp-js
changeset 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 | 5bc28c888d9a |
children | 95643de89a08 |
files | VamPipePluginLibrary.cpp |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
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)) {