diff options
| author | Tim Redfern <tim@eclectronics.org> | 2013-11-14 11:49:57 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2013-11-14 11:49:57 +0000 |
| commit | 17993784daaa38098b9430824333a2ff72757930 (patch) | |
| tree | b313cd0ce09cc7a6000dd21e96985c93252e543b /rotord/src/graph.h | |
| parent | c95f125f3296d75789685fe1ababe48abe161973 (diff) | |
lower default data rate
Diffstat (limited to 'rotord/src/graph.h')
| -rw-r--r-- | rotord/src/graph.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/rotord/src/graph.h b/rotord/src/graph.h index ad2c59d..129d754 100644 --- a/rotord/src/graph.h +++ b/rotord/src/graph.h @@ -25,11 +25,10 @@ copy nodes ` namespace Rotor { class Graph{ public: - Graph(){duration=20.0f;loaded = false;outW=640;outH=360;audio_thumb=new Audio_thumbnailer();use_fragmentation=false;analysis_seed=0;}; + Graph(){duration=20.0f;loaded = false;audio_loaded=false;bitRate=28000;outW=640;outH=360;audio_thumb=new Audio_thumbnailer();use_fragmentation=false;analysis_seed=0;}; Graph(const string& _uid,const string& _desc){ + Graph(); init(_uid,_desc); - audio_loaded=false; - bitRate=1000000; }; void init(const string& _uid,const string& _desc){ uid=_uid; @@ -65,7 +64,7 @@ namespace Rotor { bool load_audio(const string &filename,vector<Audio_processor*> processors); bool load_video(const string &nodeID,const string &filename);//can be performance or clip bool set_bitrate(int b){ - if (b>64000){ + if (b>1000){ bitRate=b; return true; } |
