diff example.cpp @ 13:a313ce2577ea process-noparse

Introduce "raw" process call in which the input is not serialised
author Chris Cannam
date Fri, 09 Sep 2016 15:41:35 +0100
parents c226df029ac8
children 171f92179c3e
line wrap: on
line diff
--- a/example.cpp	Thu Sep 08 15:27:48 2016 +0100
+++ b/example.cpp	Fri Sep 09 15:41:35 2016 +0100
@@ -69,6 +69,15 @@
     return library.requestJson(request);
 }
 
+    //!!! naming problem -- returns json as well, it's just that
+    //!!! unlike the others, it doesn't take json as input
+const char *vampipeProcess(int pluginHandle,
+                           const float *const *inputBuffers,
+                           int sec,
+                           int nsec) {
+    return library.process(pluginHandle, inputBuffers, sec, nsec);
+}
+    
 void vampipeFreeJson(const char *json) {
     return library.freeJson(json);
 }