summaryrefslogtreecommitdiff
path: root/rotord/src
diff options
context:
space:
mode:
Diffstat (limited to 'rotord/src')
-rw-r--r--rotord/src/rendercontext.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/rotord/src/rendercontext.cpp b/rotord/src/rendercontext.cpp
index d516cbd..8c9c6e4 100644
--- a/rotord/src/rendercontext.cpp
+++ b/rotord/src/rendercontext.cpp
@@ -60,6 +60,12 @@ void Render_context::runTask() {
cerr<<"Rotor: failed to load graph from body request"<<endl;
}
}
+ if (graph.loaded){
+ if (graph.audio_loaded) {
+ add_queue(Session_task(cmd.uid,ANALYSE_AUDIO));
+ cerr<<"Rotor: starting audio analysis for graph"<<endl;
+ }
+ }
state=IDLE;
}
sleep(100);