comparison 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
comparison
equal deleted inserted replaced
82:5bd5d48a1c21 83:a6ab5fd80eb7
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 72 const char *vampipeProcessRaw(int pluginHandle,
73 //!!! unlike the others, it doesn't take json as input 73 const float *const *inputBuffers,
74 const char *vampipeProcess(int pluginHandle, 74 int sec,
75 const float *const *inputBuffers, 75 int nsec) {
76 int sec, 76 return library.processRaw(pluginHandle, inputBuffers, sec, nsec);
77 int nsec) {
78 return library.process(pluginHandle, inputBuffers, sec, nsec);
79 } 77 }
80 78
81 void vampipeFreeJson(const char *json) { 79 void vampipeFreeJson(const char *json) {
82 return library.freeJson(json); 80 return library.freeJson(json);
83 } 81 }