# HG changeset patch # User Chris Cannam # Date 1474031601 -3600 # Node ID d6262c77e5a590d0b9f558bbdc04f9a8ab6477fc # Parent 22b29720da41e884a52654a7b6bd216ccd77cafc Begin plugin output id / index mapping for use in feature sets diff -r 22b29720da41 -r d6262c77e5a5 vamp-hostsdk/RequestResponse.h --- a/vamp-hostsdk/RequestResponse.h Wed Sep 14 17:35:41 2016 +0100 +++ b/vamp-hostsdk/RequestResponse.h Fri Sep 16 14:13:21 2016 +0100 @@ -223,7 +223,7 @@ * * A structure that bundles the data returned by a process call and by * Plugin::getRemainingFeatures(). This is simply a FeatureSet - * wrapper, named for symmetry with the other request-response pairs. + * wrapper that happens to reference the plugin as well. * * \see Plugin::process(), Plugin::getRemainingFeatures() * @@ -235,9 +235,10 @@ struct ProcessResponse { public: - ProcessResponse() // empty by default - { } + ProcessResponse() : // invalid by default + plugin(0) { } + Plugin *plugin; Plugin::FeatureSet features; };