summaryrefslogtreecommitdiff
path: root/rotord/src/rendercontext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rotord/src/rendercontext.cpp')
-rw-r--r--rotord/src/rendercontext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rotord/src/rendercontext.cpp b/rotord/src/rendercontext.cpp
index 39cd8d2..e0a962c 100644
--- a/rotord/src/rendercontext.cpp
+++ b/rotord/src/rendercontext.cpp
@@ -17,7 +17,7 @@ void Render_context::runTask() {
if(cmd.task==ANALYSE_AUDIO) {
state=ANALYSING_AUDIO;
vector<Audio_processor*> processors;
- processors.push_back(audio_thumb);
+ processors.push_back(graph.audio_thumb);
for (auto a: graph.nodes) {
if (dynamic_cast<Audio_processor*>(a.second)){
processors.push_back(dynamic_cast<Audio_processor*>(a.second));
@@ -174,7 +174,7 @@ void Render_context::session_command(const Session_command& command,xmlIO& XML,H
//for now
status=HTTPResponse::HTTP_OK;
XML.addValue("status","Audio ready");
- audio_thumb->print_vector(XML);
+ graph.audio_thumb->print_vector(XML);
//XML.addValue("audio",audio_thumb->print());
}
else {