comparison example.cpp @ 82:5bd5d48a1c21

Introduce "raw" process call in which the input is not serialised
author Chris Cannam <c.cannam@qmul.ac.uk>
date Fri, 09 Sep 2016 15:41:35 +0100
parents 967b0619b090
children 171f92179c3e
comparison
equal deleted inserted replaced
81:5e6ff69b4209 82:5bd5d48a1c21
67 67
68 const char *vampipeRequestJson(const char *request) { 68 const char *vampipeRequestJson(const char *request) {
69 return library.requestJson(request); 69 return library.requestJson(request);
70 } 70 }
71 71
72 //!!! naming problem -- returns json as well, it's just that
73 //!!! unlike the others, it doesn't take json as input
74 const char *vampipeProcess(int pluginHandle,
75 const float *const *inputBuffers,
76 int sec,
77 int nsec) {
78 return library.process(pluginHandle, inputBuffers, sec, nsec);
79 }
80
72 void vampipeFreeJson(const char *json) { 81 void vampipeFreeJson(const char *json) {
73 return library.freeJson(json); 82 return library.freeJson(json);
74 } 83 }
75 84
76 } 85 }