comparison src/vamp-hostsdk/PluginLoader.cpp @ 455:5c07a86abddd outputid-string-in-featureset

Make RequestResponse types more consistent by adding plugin to ConfigurationResponse and introducing a FinishRequest
author Chris Cannam
date Mon, 19 Sep 2016 13:35:56 +0100
parents c053e5e79b8f
children 86624d166f88
comparison
equal deleted inserted replaced
454:d6262c77e5a5 455:5c07a86abddd
467 req.plugin->selectProgram(req.configuration.currentProgram); 467 req.plugin->selectProgram(req.configuration.currentProgram);
468 } 468 }
469 469
470 ConfigurationResponse response; 470 ConfigurationResponse response;
471 471
472 response.plugin = req.plugin;
473
472 if (req.plugin->initialise(req.configuration.channelCount, 474 if (req.plugin->initialise(req.configuration.channelCount,
473 req.configuration.stepSize, 475 req.configuration.stepSize,
474 req.configuration.blockSize)) { 476 req.configuration.blockSize)) {
475 response.outputs = req.plugin->getOutputDescriptors(); 477 response.outputs = req.plugin->getOutputDescriptors();
476 } 478 }