diff options
| author | Tim Redfern <tim@herge.(none)> | 2013-02-15 17:02:12 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@herge.(none)> | 2013-02-15 17:02:12 +0000 |
| commit | 09c827e0b4aa62401ac1ed84107bd5570b2580be (patch) | |
| tree | 15ab8ba28f6f569aa0f2c1b897c8a5340c8c66aa /rotord/rotord.cpp | |
| parent | 9f746d958099458dc11afdf410fb0b24ee510cac (diff) | |
adding vamp
Diffstat (limited to 'rotord/rotord.cpp')
| -rw-r--r-- | rotord/rotord.cpp | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/rotord/rotord.cpp b/rotord/rotord.cpp index 965d290..315e856 100644 --- a/rotord/rotord.cpp +++ b/rotord/rotord.cpp @@ -43,10 +43,20 @@ HTTPRequestHandler* RotorRequestHandlerFactory::createRequestHandler(const HTTPS app.logger().information("Request from "+ request.clientAddress().toString()+" "+ostr.str()+" segments: "+out); - if (segments.size() == 0) + if (segments.size() == 0) { return new RotorRequestHandler(_format); - else - return 0; + } + else if (segments[0]=="vamp") { + // vamp/plugin/filter/filename + // how do deal with error condition? + //string audioData=runPlugin(string myname, string soname, string id, + // string output, int outputNo, string wavname, + // string outfilename, bool useFrames); + return 0; + } + else { + return 0; + } } |
