summaryrefslogtreecommitdiff
path: root/NT/src/graph.h
diff options
context:
space:
mode:
Diffstat (limited to 'NT/src/graph.h')
-rw-r--r--NT/src/graph.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/NT/src/graph.h b/NT/src/graph.h
index cef2fb8..00aee48 100644
--- a/NT/src/graph.h
+++ b/NT/src/graph.h
@@ -56,7 +56,7 @@ namespace Rotor {
//--context// Json::Value preview(std::string &node ,std::string &format,int frame,int w,int h);
bool check_audio (std::string audio ,std::string path);
//--context// Json::Value print_features (std::string &node);
- //bool load_audio(const std::string &filename, std::vector<Audio_processor*> processors);
+ bool load_audio(const std::string &filename);
//bool load_video(const std::string &node_id,const std::string &filename);
//load audio and video should be methods of the nodes themselves?
bool loaded;
@@ -69,11 +69,17 @@ namespace Rotor {
//Log_name=_Log_name;
//}
- //Audio_thumbnailer *audio_thumb;
+ //Audio_thumbnail *audio_thumb;
+ //how does audio thumbnail fit in with the new plan?
+ //a graph has A audio thumbnail to represent THE audio track?
+ //is this important any more? I don't think Josep uses it?
+
+ //also need to review workflow with audio
private:
std::string id;
std::unordered_map<std::string,Node*> nodes;
+ double duration;
};
}