Mercurial > hg > piper-vamp-js
diff 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 |
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); }