summaryrefslogtreecommitdiff
path: root/src/viewport.h
diff options
context:
space:
mode:
authorComment <tim@gray.(none)>2013-05-29 20:16:58 +0100
committerComment <tim@gray.(none)>2013-05-29 20:16:58 +0100
commit3919daab84baefb846c4efc27eff9b40b9cc03db (patch)
tree95318aaa386903969dfb734058fc35d1f927cb8f /src/viewport.h
parenta720f370fdb8a79a70a218c1d7bcb9069f50ff9d (diff)
looking pretty sweet
Diffstat (limited to 'src/viewport.h')
-rwxr-xr-xsrc/viewport.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/viewport.h b/src/viewport.h
index b7b8910..072ec7a 100755
--- a/src/viewport.h
+++ b/src/viewport.h
@@ -79,6 +79,7 @@ class vpcontrol {
thickness=1.0f;
waveheight=1.0f;
fade=0;
+ drawseconds=-1.0f;
left.assign(bufferSize, 0.0);
right.assign(bufferSize, 0.0);
@@ -114,11 +115,15 @@ class vpcontrol {
vector <float> right;
vector <float> volHistory;
+ vector <float> feats;
+
int bufferCounter;
int drawCounter;
float smoothedVol;
float scaledVol;
+
+ float bx,by,drawseconds;
};
class viewport