diff options
| author | Comment <tim@gray.(none)> | 2013-06-13 08:57:57 +0100 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2013-06-13 08:57:57 +0100 |
| commit | b617228d7bf7c028b7e27da6f47053bc0558bc95 (patch) | |
| tree | ed4f79e0ed44cf148dfc86e2cb1f3300ca986a37 /src/viewport.h | |
| parent | a9a466565cd006971de2ded0468b1d5afc4d30a2 (diff) | |
Diffstat (limited to 'src/viewport.h')
| -rwxr-xr-x | src/viewport.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/viewport.h b/src/viewport.h index 072ec7a..9587f6d 100755 --- a/src/viewport.h +++ b/src/viewport.h @@ -4,8 +4,8 @@ #include "ofMain.h"
#include "ofxXmlSettings.h"
-static int bufferSize = 1024;
-static int oversample = 4;
+static int bufferSize = 2048;
+static int oversample = 8;
static int windowsize = 32;
static int previewscale = 5;
@@ -80,6 +80,7 @@ class vpcontrol { waveheight=1.0f;
fade=0;
drawseconds=-1.0f;
+ reverse=drawkeys=false;
left.assign(bufferSize, 0.0);
right.assign(bufferSize, 0.0);
@@ -124,6 +125,8 @@ class vpcontrol { float scaledVol;
float bx,by,drawseconds;
+
+ bool reverse,drawkeys;
};
class viewport
|
