diff VamPipePluginLibrary.h @ 99:dfd107ef991f

Replace exceptions throughout the JSON-handling and adapter code with string-arg error handling. No longer need exception handling enabled in Emscripten (with its consequent runtime overhead - though we still need to check whether this error handling regime is actually faster).
author Chris Cannam <c.cannam@qmul.ac.uk>
date Tue, 20 Sep 2016 16:35:47 +0100
parents 22a09aca4b4a
children
line wrap: on
line diff
--- a/VamPipePluginLibrary.h	Mon Sep 19 16:35:05 2016 +0100
+++ b/VamPipePluginLibrary.h	Tue Sep 20 16:35:47 2016 +0100
@@ -71,9 +71,11 @@
     std::string processRawImpl(int, const float *const *, int, int);
 
     Vamp::HostExt::ListResponse listPluginData() const;
-    Vamp::HostExt::LoadResponse loadPlugin(Vamp::HostExt::LoadRequest r) const;
+    Vamp::HostExt::LoadResponse loadPlugin(Vamp::HostExt::LoadRequest r,
+                                           std::string &err) const;
     Vamp::HostExt::ConfigurationResponse configurePlugin(Vamp::HostExt::
-							 ConfigurationRequest r)
+							 ConfigurationRequest r,
+                                                         std::string &err)
         const;
 
     // map from pluginKey -> adapter