diff options
| author | Comment <tim@gray.(none)> | 2013-12-08 09:57:25 +0000 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2013-12-08 09:57:25 +0000 |
| commit | e04516069c71a5a1e32e6a5fbf0eb5b86dcfc5a2 (patch) | |
| tree | bec01f63fb5306d6ec49eae870ed747594be5927 /rotord/src/graph.cpp | |
| parent | a647bc51ea9fd29623aba56246e85c51b923bbd9 (diff) | |
many signal fixes
Diffstat (limited to 'rotord/src/graph.cpp')
| -rw-r--r-- | rotord/src/graph.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rotord/src/graph.cpp b/rotord/src/graph.cpp index 737aeab..5d8d368 100644 --- a/rotord/src/graph.cpp +++ b/rotord/src/graph.cpp @@ -31,14 +31,14 @@ bool Graph::signal_render(xmlIO &XML,const string &node,const float framerate) { //return signal_output->render(duration,framerate,signal_xml); XML.addValue("signal_duration",duration); XML.addValue("signal_framerate",framerate); - float sig=0.0f; + //float sig=0.0f; string val=""; for (float i=0;i<duration;i+=1.0f/framerate){ float s=(signal_output->get_output(Time_spec(i,framerate,duration))); - if (!fequal(sig,s)){ + //if (!fequal(sig,s)){ val+=toString(i)+" "+toString(s)+","; - sig=s; - } + // sig=s; + //} } XML.addValue("signal",val); return true; |
