diff options
| author | Comment <tim@gray.(none)> | 2013-05-29 20:16:58 +0100 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2013-05-29 20:16:58 +0100 |
| commit | 3919daab84baefb846c4efc27eff9b40b9cc03db (patch) | |
| tree | 95318aaa386903969dfb734058fc35d1f927cb8f /src/viewport.h | |
| parent | a720f370fdb8a79a70a218c1d7bcb9069f50ff9d (diff) | |
looking pretty sweet
Diffstat (limited to 'src/viewport.h')
| -rwxr-xr-x | src/viewport.h | 5 |
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
|
