summaryrefslogtreecommitdiff
path: root/rotord/rotor.h
diff options
context:
space:
mode:
authorTim Redfern <tim@herge.(none)>2013-04-03 17:59:16 +0100
committerTim Redfern <tim@herge.(none)>2013-04-03 17:59:16 +0100
commitef217eb0c2450e50a25e6ae2aee36178fcdd54c7 (patch)
tree5c51e2765c0015bbb3856078e600fb55cf3e9d96 /rotord/rotor.h
parentf4c9ea89fa6d642813dc06387e956ef062ad9de1 (diff)
nearly got audio?
Diffstat (limited to 'rotord/rotor.h')
-rwxr-xr-xrotord/rotor.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/rotord/rotor.h b/rotord/rotor.h
index b7ffc25..436de10 100755
--- a/rotord/rotor.h
+++ b/rotord/rotor.h
@@ -345,8 +345,8 @@ namespace Rotor {
//draw pixels based on rms value
public:
audio_thumbnailer(){
- height=16;
- width=64; //fit
+ height=48;
+ width=128; //fit
data=new uint8_t[height*width];
memset(data,0,height*width);
}
@@ -358,10 +358,10 @@ namespace Rotor {
string print();
uint8_t *data;
int height,width,samples_per_column;
- int column,out_sample;
+ int column,out_sample,sample,samples;
//for drawing graph
int offset;
- double scale;
+ double scale,accum;
};
class Render_context: public Poco::Task { //Poco task object
//manages a 'patchbay'