Mercurial > hg > piper-vamp-js
comparison 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 |
comparison
equal
deleted
inserted
replaced
12:8fdafb8f1c45 | 13:a313ce2577ea |
---|---|
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 } |