diff example.cpp @ 83:a6ab5fd80eb7

Rename process -> processRaw
author Chris Cannam <c.cannam@qmul.ac.uk>
date Wed, 14 Sep 2016 14:41:24 +0100
parents 5bd5d48a1c21
children a734a7e976fa
line wrap: on
line diff
--- a/example.cpp	Fri Sep 09 15:41:35 2016 +0100
+++ b/example.cpp	Wed Sep 14 14:41:24 2016 +0100
@@ -69,13 +69,11 @@
     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);
+const char *vampipeProcessRaw(int pluginHandle,
+                              const float *const *inputBuffers,
+                              int sec,
+                              int nsec) {
+    return library.processRaw(pluginHandle, inputBuffers, sec, nsec);
 }
     
 void vampipeFreeJson(const char *json) {