Mercurial > hg > piper-vamp-js
diff quick-test.cpp @ 42:873ce3bfa776
Ensure id is passed through in adapter (still pending for server/converter)
author | Chris Cannam |
---|---|
date | Fri, 07 Oct 2016 16:43:18 +0100 |
parents | a734a7e976fa |
children | 124f6d2fbaa2 |
line wrap: on
line diff
--- a/quick-test.cpp Thu Oct 06 14:33:12 2016 +0100 +++ b/quick-test.cpp Fri Oct 07 16:43:18 2016 +0100 @@ -45,7 +45,7 @@ cout << configResponse << endl; freeFn(configResponse); - string processRequest = "{\"method\":\"process\",\"params\":{\"handle\":1,\"processInput\":{\"timestamp\":{\"s\":0,\"n\":0},\"inputBuffers\":[[0,1,0,-1,0,1,0,-1]]}}}"; + string processRequest = "{\"method\":\"process\",\"id\": 6,\"params\":{\"handle\":1,\"processInput\":{\"timestamp\":{\"s\":0,\"n\":0},\"inputBuffers\":[[0,1,0,-1,0,1,0,-1]]}}}"; const char *processResponse = reqFn(processRequest.c_str()); cout << processResponse << endl; freeFn(processResponse);