From ef217eb0c2450e50a25e6ae2aee36178fcdd54c7 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Wed, 3 Apr 2013 17:59:16 +0100 Subject: nearly got audio? --- rotord/rotor.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'rotord/rotor.h') 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' -- cgit v1.2.3