summaryrefslogtreecommitdiff
path: root/NT/src/graph.h
diff options
context:
space:
mode:
authorComment <tim@gray.(none)>2014-01-29 23:58:55 +0000
committerComment <tim@gray.(none)>2014-01-29 23:58:55 +0000
commit89961817f408e921de2c1be6197e2b1ee0f5df98 (patch)
tree983f41082fbe2877d9eed913d07784f157d5ced4 /NT/src/graph.h
parent90a237397507bda5a8194b9a7c9982454cc79718 (diff)
NT audio framework
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;
};
}