From 89961817f408e921de2c1be6197e2b1ee0f5df98 Mon Sep 17 00:00:00 2001 From: Comment Date: Wed, 29 Jan 2014 23:58:55 +0000 Subject: NT audio framework --- NT/src/graph.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'NT/src/graph.h') 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 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 nodes; + double duration; }; } -- cgit v1.2.3