diff options
| author | Tim Redfern <tim@herge.(none)> | 2013-04-10 16:31:40 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@herge.(none)> | 2013-04-10 16:31:40 +0100 |
| commit | a29217ecc368cdeee7e908fc7db3c717cc51fd70 (patch) | |
| tree | 1f6447cfecc19c90a98ff86cb575ad7109371267 /rotord/rotord.cpp | |
| parent | 6275e8f15b63f85c2206f0acb64023610c711f24 (diff) | |
signal and audio stuff working
Diffstat (limited to 'rotord/rotord.cpp')
| -rwxr-xr-x | rotord/rotord.cpp | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/rotord/rotord.cpp b/rotord/rotord.cpp index 734e159..a919a0b 100755 --- a/rotord/rotord.cpp +++ b/rotord/rotord.cpp @@ -124,43 +124,6 @@ HTTPRequestHandler* RotorRequestHandlerFactory::createRequestHandler(const HTTPS os<<request.stream().rdbuf(); body=os.str(); - - /* - if (segments.size() == 0) { - return new RotorRequestHandler(_format); - } - else if (segments[0]=="vamp"&&segments.size()>3) { - // vamp/plugin/filter/filename - // how do deal with error condition? - - //Settings(string _so="",string _filter="",string _id="",string _input=""); - return new AudioAnalyserHandler(vampHost::Settings(segments[1],segments[2],segments[3])); - //string audioData=runPlugin(string myname, string soname, string id, - // string output, int outputNo, string wavname, - // string outfilename, bool useFrames); - return 0; - } - else if (segments[0]=="new") { - // create a new render context - - return 0; - } - else { - return 0; - } - */ - - - //at this point we are within app - //making a new contexthandler? - //how will this have access to the thread that it refers to - //how will messages be passed - //we need to do testing etc here and - - //what does the handler do? - //it gets passed the response- gets to set response code - - if (command.size()) { if (command[0]=="new") { if (request.getMethod()=="GET") { |
