Mercurial > hg > piper-cpp
comparison vamp-server/simple-server.cpp @ 135:9da826f812cb
Have checked this over, and I don't think there is so much benefit to be had simply
| author | Chris Cannam <c.cannam@qmul.ac.uk> | 
|---|---|
| date | Mon, 07 Nov 2016 15:19:29 +0000 | 
| parents | b37530377d6e | 
| children | b01dac674beb | 
   comparison
  equal
  deleted
  inserted
  replaced
| 133:74a7c2a8d6b6 | 135:9da826f812cb | 
|---|---|
| 65 | 65 | 
| 66 using namespace std; | 66 using namespace std; | 
| 67 using namespace json11; | 67 using namespace json11; | 
| 68 using namespace piper_vamp; | 68 using namespace piper_vamp; | 
| 69 using namespace Vamp; | 69 using namespace Vamp; | 
| 70 | |
| 71 //!!! This could be faster and lighter: | |
| 72 // - Use Capnp structures directly rather than converting to vamp-support ones | |
| 73 // - Use Vamp C API (vamp.h) directly rather than converting to C++ | |
| 74 //!!! Doing the above for process() and finish() alone would be a good start | |
| 75 | 70 | 
| 76 static string myname = "piper-vamp-simple-server"; | 71 static string myname = "piper-vamp-simple-server"; | 
| 77 | 72 | 
| 78 static void version() | 73 static void version() | 
| 79 { | 74 { | 
